5#ifndef V8_HEAP_PARKED_SCOPE_INL_H_
6#define V8_HEAP_PARKED_SCOPE_INL_H_
27 DCHECK(AllowGarbageCollection::IsAllowed());
40 DCHECK(AllowGarbageCollection::IsAllowed());
53 DCHECK(AllowGarbageCollection::IsAllowed());
54 if (!enable_mutex)
return;
123template <
typename ThreadCollection>
126 const ThreadCollection& threads) {
130template <
typename ThreadCollection>
133 const ThreadCollection& threads) {
bool TryLock() V8_WARN_UNUSED_RESULT
bool TryLock() V8_WARN_UNUSED_RESULT
V8_INLINE void ExecuteWhileParked(Callback callback)
V8_INLINE ParkedMutexGuardIf(LocalIsolate *local_isolate, base::Mutex *mutex, bool enable_mutex)
V8_INLINE ParkedMutexGuard(LocalIsolate *local_isolate, base::Mutex *mutex)
V8_INLINE ParkedRecursiveMutexGuard(LocalIsolate *local_isolate, base::RecursiveMutex *mutex)
base::RecursiveMutex * mutex_
V8_INLINE bool ParkedWaitFor(LocalIsolate *local_isolate, base::Mutex *mutex, const base::TimeDelta &rel_time) V8_WARN_UNUSED_RESULT
V8_INLINE void ParkedWait(LocalIsolate *local_isolate, base::Mutex *mutex)
V8_INLINE void ParkedWait(LocalIsolate *local_isolate)
V8_INLINE bool ParkedWaitFor(LocalIsolate *local_isolate, const base::TimeDelta &rel_time) V8_WARN_UNUSED_RESULT
V8_INLINE void ParkedJoin(LocalIsolate *local_isolate)
static V8_INLINE void ParkedJoinAll(LocalIsolate *local_isolate, const ThreadCollection &threads)
ZoneVector< RpoNumber > & result
#define DCHECK(condition)