Home
last modified time | relevance | path

Searched refs:LocalHeap (Results 1 – 25 of 45) sorted by relevance

12

/third_party/node/deps/v8/src/heap/
Dlocal-heap.cc32 thread_local LocalHeap* current_local_heap = nullptr;
35 LocalHeap* LocalHeap::Current() { return current_local_heap; } in Current()
38 void LocalHeap::VerifyCurrent() { in VerifyCurrent()
39 LocalHeap* current = LocalHeap::Current(); in VerifyCurrent()
48 LocalHeap::LocalHeap(Heap* heap, ThreadKind kind, in LocalHeap() function in v8::internal::LocalHeap
79 LocalHeap::~LocalHeap() { in ~LocalHeap()
100 void LocalHeap::SetUpMainThreadForTesting() { SetUpMainThread(); } in SetUpMainThreadForTesting()
102 void LocalHeap::SetUpMainThread() { in SetUpMainThread()
107 void LocalHeap::SetUp() { in SetUp()
126 void LocalHeap::EnsurePersistentHandles() { in EnsurePersistentHandles()
[all …]
Dparked-scope.h21 explicit ParkedScope(LocalHeap* local_heap) : local_heap_(local_heap) { in ParkedScope()
28 LocalHeap* const local_heap_;
37 explicit UnparkedScope(LocalHeap* local_heap) : local_heap_(local_heap) { in UnparkedScope()
44 LocalHeap* const local_heap_;
53 explicit ParkedMutexGuard(LocalHeap* local_heap, base::Mutex* mutex) in ParkedMutexGuard()
78 ParkedSharedMutexGuardIf(LocalHeap* local_heap, base::SharedMutex* mutex, in ParkedSharedMutexGuardIf()
Dsafepoint.h19 class LocalHeap; variable
36 for (LocalHeap* current = local_heaps_head_; current; in IterateLocalHeaps()
99 void LockMutex(LocalHeap* local_heap);
105 void AddLocalHeap(LocalHeap* local_heap, Callback callback) { in AddLocalHeap()
121 void RemoveLocalHeap(LocalHeap* local_heap, Callback callback) { in RemoveLocalHeap()
144 LocalHeap* local_heaps_head_;
150 friend class LocalHeap; variable
Dlocal-heap.h36 class V8_EXPORT_PRIVATE LocalHeap {
40 explicit LocalHeap(
43 ~LocalHeap();
130 static LocalHeap* Current();
215 friend class LocalHeap; variable
306 LocalHeap* prev_;
307 LocalHeap* next_;
Dsafepoint.cc34 DCHECK_NULL(LocalHeap::Current()); in EnterLocalSafepointScope()
136 for (LocalHeap* local_heap = local_heaps_head_; local_heap; in SetSafepointRequestedFlags()
143 const LocalHeap::ThreadState old_state = in SetSafepointRequestedFlags()
155 void IsolateSafepoint::LockMutex(LocalHeap* local_heap) { in LockMutex()
184 for (LocalHeap* local_heap = local_heaps_head_; local_heap; in ClearSafepointRequestedFlags()
191 const LocalHeap::ThreadState old_state = in ClearSafepointRequestedFlags()
265 for (LocalHeap* current = local_heaps_head_; current; in Iterate()
339 DCHECK_NULL(LocalHeap::Current()); in EnterGlobalSafepointScope()
Dconcurrent-allocator.h16 class LocalHeap; variable
40 explicit ConcurrentAllocator(LocalHeap* local_heap, PagedSpace* space) in ConcurrentAllocator()
72 LocalHeap* const local_heap_;
Dlocal-heap-inl.h19 AllocationResult LocalHeap::AllocateRaw(int size_in_bytes, AllocationType type, in AllocateRaw()
70 Address LocalHeap::AllocateRawOrFail(int object_size, AllocationType type, in AllocateRawOrFail()
81 void LocalHeap::CreateFillerObjectAt(Address addr, int size, in CreateFillerObjectAt()
Dlarge-spaces.h25 class LocalHeap; variable
177 AllocateRawBackground(LocalHeap* local_heap, int object_size);
189 LocalHeap* local_heap, int object_size, Executability executable);
220 AllocateRawBackground(LocalHeap* local_heap, int object_size);
Dmarking-barrier.cc34 MarkingBarrier::MarkingBarrier(LocalHeap* local_heap) in MarkingBarrier()
139 heap->safepoint()->IterateLocalHeaps([is_compacting](LocalHeap* local_heap) { in ActivateAll()
147 heap->safepoint()->IterateLocalHeaps([](LocalHeap* local_heap) { in DeactivateAll()
156 [](LocalHeap* local_heap) { local_heap->marking_barrier()->Publish(); }); in PublishAll()
Dmarking-barrier.h17 class LocalHeap; variable
24 explicit MarkingBarrier(LocalHeap*);
Dcollection-barrier.h49 bool AwaitCollectionBackground(LocalHeap* local_heap);
Dheap.h92 class LocalHeap; variable
668 void CollectGarbageForBackground(LocalHeap* local_heap);
802 void SetUp(LocalHeap* main_thread_local_heap);
814 void InitializeMainThreadLocalHeap(LocalHeap* main_thread_local_heap);
894 LocalHeap* main_thread_local_heap() { return main_thread_local_heap_; } in main_thread_local_heap()
1988 V8_EXPORT_PRIVATE bool CanExpandOldGenerationBackground(LocalHeap* local_heap,
1993 LocalHeap* local_heap = nullptr);
1994 bool IsRetryOfFailedAllocation(LocalHeap* local_heap);
1995 bool IsMainThreadParked(LocalHeap* local_heap);
2187 LocalHeap* main_thread_local_heap_ = nullptr;
[all …]
/third_party/node/deps/v8/src/handles/
Dlocal-handles.h47 explicit inline LocalHandleScope(LocalHeap* local_heap);
55 V8_INLINE static Address* GetHandle(LocalHeap* local_heap, Address value);
63 static inline void CloseScope(LocalHeap* local_heap, Address* prev_next,
65 V8_EXPORT_PRIVATE static void CloseMainThreadScope(LocalHeap* local_heap,
69 V8_EXPORT_PRIVATE void OpenMainThreadScope(LocalHeap* local_heap);
71 V8_EXPORT_PRIVATE static Address* GetMainThreadHandle(LocalHeap* local_heap,
74 LocalHeap* local_heap_;
Dpersistent-handles.h57 void Attach(LocalHeap* local_heap);
61 LocalHeap* owner_ = nullptr;
64 void Attach(LocalHeap*) {} in Attach() argument
82 friend class LocalHeap; variable
Dmaybe-handles-inl.h21 MaybeHandle<T>::MaybeHandle(T object, LocalHeap* local_heap) in MaybeHandle()
37 LocalHeap* local_heap) { in MaybeObjectHandle()
56 MaybeObjectHandle::MaybeObjectHandle(Object object, LocalHeap* local_heap) in MaybeObjectHandle()
110 inline MaybeObjectHandle handle(MaybeObject object, LocalHeap* local_heap) { in handle()
Dlocal-handles.cc16 Address* LocalHandleScope::GetMainThreadHandle(LocalHeap* local_heap, in GetMainThreadHandle()
22 void LocalHandleScope::OpenMainThreadScope(LocalHeap* local_heap) { in OpenMainThreadScope()
31 void LocalHandleScope::CloseMainThreadScope(LocalHeap* local_heap, in CloseMainThreadScope()
Dmaybe-handles.h48 V8_INLINE MaybeHandle(T object, LocalHeap* local_heap);
95 inline MaybeObjectHandle(MaybeObject object, LocalHeap* local_heap);
96 inline MaybeObjectHandle(Object object, LocalHeap* local_heap);
Dlocal-handles-inl.h17 V8_INLINE Address* LocalHandleScope::GetHandle(LocalHeap* local_heap, in GetHandle()
37 LocalHandleScope::LocalHandleScope(LocalHeap* local_heap) { in LocalHandleScope()
82 void LocalHandleScope::CloseScope(LocalHeap* local_heap, Address* prev_next, in CloseScope()
Dhandles-inl.h18 class LocalHeap; variable
26 HandleBase::HandleBase(Address object, LocalHeap* local_heap) in HandleBase()
59 Handle<T>::Handle(T object, LocalHeap* local_heap) in Handle()
73 V8_INLINE Handle<T> handle(T object, LocalHeap* local_heap) { in handle()
Dhandles.h25 class LocalHeap; variable
47 V8_INLINE explicit HandleBase(Address object, LocalHeap* local_heap);
124 V8_INLINE Handle(T object, LocalHeap* local_heap);
/third_party/node/deps/v8/src/codegen/
Dtick-counter.h13 class LocalHeap; variable
23 void AttachLocalHeap(LocalHeap* local_heap);
29 LocalHeap* local_heap_ = nullptr;
Dtick-counter.cc25 void TickCounter::AttachLocalHeap(LocalHeap* local_heap) { in AttachLocalHeap()
/third_party/node/deps/v8/src/execution/
Dlocal-isolate.h51 static LocalIsolate* FromHeap(LocalHeap* heap) { in FromHeap()
58 LocalHeap* heap() { return &heap_; } in heap()
152 LocalHeap heap_;
/third_party/node/deps/v8/src/baseline/
Dbytecode-offset-iterator.cc20 local_heap_(LocalHeap::Current() in BytecodeOffsetIterator()
21 ? LocalHeap::Current() in BytecodeOffsetIterator()
/third_party/node/deps/v8/src/objects/
Dtemplates.cc61 LocalHeap::Current() == nullptr in IsTemplateFor()
63 : LocalIsolate::FromHeap(LocalHeap::Current())->runtime_call_stats(), in IsTemplateFor()

12