Searched refs:HeapState (Results 1 – 7 of 7) sorted by relevance
13 bool HeapState::IsMarking(const HeapHandle& heap_handle) { in IsMarking()20 bool HeapState::IsSweeping(const HeapHandle& heap_handle) { in IsSweeping()25 bool HeapState::IsSweepingOnOwningThread(const HeapHandle& heap_handle) { in IsSweepingOnOwningThread()32 bool HeapState::IsInAtomicPause(const HeapHandle& heap_handle) { in IsInAtomicPause()37 bool HeapState::PreviousGCWasConservative(const HeapHandle& heap_handle) { in PreviousGCWasConservative()
19 class V8_EXPORT HeapState final {76 HeapState() = delete;
29 Heap::HeapState state = heap()->gc_state(); in AllocateRaw()
238 enum HeapState { enum647 inline HeapState gc_state() const { in gc_state()650 void SetGCState(HeapState state);2204 std::atomic<HeapState> gc_state_{NOT_IN_GC};
497 void Heap::SetGCState(HeapState state) { in SetGCState()5995 DCHECK_EQ(gc_state(), HeapState::NOT_IN_GC); in SetEmbedderHeapTracer()
261 if (V8_UNLIKELY(!subtle::HeapState::IsMarking(handle))) {
47830 enum class HeapState { enum47838 HeapState47844 return CurrentThreadHeapState() != HeapState::Idle; in CurrentThreadIsHeapBusy()47850 return CurrentThreadHeapState() == HeapState::Tracing; in CurrentThreadIsHeapTracing()47856 return CurrentThreadHeapState() == HeapState::MajorCollecting; in CurrentThreadIsHeapMajorCollecting()47862 return CurrentThreadHeapState() == HeapState::MinorCollecting; in CurrentThreadIsHeapMinorCollecting()47868 HeapState state = CurrentThreadHeapState(); in CurrentThreadIsHeapCollecting()47869 return state == HeapState::MajorCollecting || state == HeapState::MinorCollecting; in CurrentThreadIsHeapCollecting()47875 return CurrentThreadHeapState() == HeapState::CycleCollecting; in CurrentThreadIsHeapCycleCollecting()