Home
last modified time | relevance | path

Searched refs:HeapState (Results 1 – 25 of 74) sorted by relevance

123

/dports/lang/spidermonkey60/firefox-60.9.0/js/src/
H A Djspubtd.h121 enum class HeapState { enum
130 JS_PUBLIC_API HeapState CurrentThreadHeapState();
133 return CurrentThreadHeapState() != HeapState::Idle; in CurrentThreadIsHeapBusy()
137 return CurrentThreadHeapState() == HeapState::Tracing; in CurrentThreadIsHeapTracing()
141 return CurrentThreadHeapState() == HeapState::MajorCollecting; in CurrentThreadIsHeapMajorCollecting()
145 return CurrentThreadHeapState() == HeapState::MinorCollecting; in CurrentThreadIsHeapMinorCollecting()
149 HeapState state = CurrentThreadHeapState(); in CurrentThreadIsHeapCollecting()
150 return state == HeapState::MajorCollecting || in CurrentThreadIsHeapCollecting()
151 state == HeapState::MinorCollecting; in CurrentThreadIsHeapCollecting()
155 return CurrentThreadHeapState() == HeapState::CycleCollecting; in CurrentThreadIsHeapCycleCollecting()
/dports/lang/v8/v8-9.6.180.12/src/heap/cppgc/
H A Dheap-state.cc13 bool HeapState::IsMarking(const HeapHandle& heap_handle) { in IsMarking()
20 bool HeapState::IsSweeping(const HeapHandle& heap_handle) { in IsSweeping()
25 bool HeapState::IsInAtomicPause(const HeapHandle& heap_handle) { in IsInAtomicPause()
30 bool HeapState::PreviousGCWasConservative(const HeapHandle& heap_handle) { in PreviousGCWasConservative()
/dports/lang/v8/v8-9.6.180.12/test/unittests/heap/cppgc/
H A Dheap-unittest.cc240 EXPECT_FALSE(subtle::HeapState::IsMarking(*heap)); in TEST_F()
242 EXPECT_TRUE(subtle::HeapState::IsMarking(*heap)); in TEST_F()
244 EXPECT_FALSE(subtle::HeapState::IsMarking(*heap)); in TEST_F()
246 EXPECT_FALSE(subtle::HeapState::IsMarking(*heap)); in TEST_F()
253 EXPECT_FALSE(subtle::HeapState::IsSweeping(*heap)); in TEST_F()
255 EXPECT_FALSE(subtle::HeapState::IsSweeping(*heap)); in TEST_F()
257 EXPECT_TRUE(subtle::HeapState::IsSweeping(*heap)); in TEST_F()
259 EXPECT_FALSE(subtle::HeapState::IsSweeping(*heap)); in TEST_F()
288 EXPECT_FALSE(subtle::HeapState::IsInAtomicPause(*heap)); in TEST_F()
290 EXPECT_FALSE(subtle::HeapState::IsInAtomicPause(*heap)); in TEST_F()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/
H A Djspubtd.h154 enum class HeapState { enum
167 JS::HeapState heapState_;
170 void setHeapState(JS::HeapState newState) { in setHeapState()
176 JS::HeapState heapState() const { in heapState()
195 : heapState_(JS::HeapState::Idle) in Runtime()
201 bool isHeapBusy() const { return heapState() != JS::HeapState::Idle; } in isHeapBusy()
202 bool isHeapTracing() const { return heapState() == JS::HeapState::Tracing; } in isHeapTracing()
203 bool isHeapMajorCollecting() const { return heapState() == JS::HeapState::MajorCollecting; } in isHeapMajorCollecting()
204 bool isHeapMinorCollecting() const { return heapState() == JS::HeapState::MinorCollecting; } in isHeapMinorCollecting()
207 return heapState() == JS::HeapState::CycleCollecting; in isCycleCollecting()
/dports/www/firefox-esr/firefox-91.8.0/js/public/
H A DHeapAPI.h283 enum class HeapState { enum
292 JS_PUBLIC_API HeapState RuntimeHeapState();
295 return RuntimeHeapState() != HeapState::Idle; in RuntimeHeapIsBusy()
299 return RuntimeHeapState() == HeapState::Tracing; in RuntimeHeapIsTracing()
303 return RuntimeHeapState() == HeapState::MajorCollecting; in RuntimeHeapIsMajorCollecting()
307 return RuntimeHeapState() == HeapState::MinorCollecting; in RuntimeHeapIsMinorCollecting()
310 static inline bool RuntimeHeapIsCollecting(HeapState state) { in RuntimeHeapIsCollecting()
311 return state == HeapState::MajorCollecting || in RuntimeHeapIsCollecting()
312 state == HeapState::MinorCollecting; in RuntimeHeapIsCollecting()
320 return RuntimeHeapState() == HeapState::CycleCollecting; in RuntimeHeapIsCycleCollecting()
/dports/lang/spidermonkey78/firefox-78.9.0/js/public/
H A DHeapAPI.h123 enum class HeapState { enum
132 JS_PUBLIC_API HeapState RuntimeHeapState();
135 return RuntimeHeapState() != HeapState::Idle; in RuntimeHeapIsBusy()
139 return RuntimeHeapState() == HeapState::Tracing; in RuntimeHeapIsTracing()
143 return RuntimeHeapState() == HeapState::MajorCollecting; in RuntimeHeapIsMajorCollecting()
147 return RuntimeHeapState() == HeapState::MinorCollecting; in RuntimeHeapIsMinorCollecting()
150 static inline bool RuntimeHeapIsCollecting(HeapState state) { in RuntimeHeapIsCollecting()
151 return state == HeapState::MajorCollecting || in RuntimeHeapIsCollecting()
152 state == HeapState::MinorCollecting; in RuntimeHeapIsCollecting()
160 return RuntimeHeapState() == HeapState::CycleCollecting; in RuntimeHeapIsCycleCollecting()
/dports/mail/thunderbird/thunderbird-91.8.0/js/public/
H A DHeapAPI.h283 enum class HeapState { enum
292 JS_PUBLIC_API HeapState RuntimeHeapState();
295 return RuntimeHeapState() != HeapState::Idle; in RuntimeHeapIsBusy()
299 return RuntimeHeapState() == HeapState::Tracing; in RuntimeHeapIsTracing()
303 return RuntimeHeapState() == HeapState::MajorCollecting; in RuntimeHeapIsMajorCollecting()
307 return RuntimeHeapState() == HeapState::MinorCollecting; in RuntimeHeapIsMinorCollecting()
310 static inline bool RuntimeHeapIsCollecting(HeapState state) { in RuntimeHeapIsCollecting()
311 return state == HeapState::MajorCollecting || in RuntimeHeapIsCollecting()
312 state == HeapState::MinorCollecting; in RuntimeHeapIsCollecting()
320 return RuntimeHeapState() == HeapState::CycleCollecting; in RuntimeHeapIsCycleCollecting()
/dports/lang/v8/v8-9.6.180.12/include/cppgc/
H A Dheap-state.h19 class V8_EXPORT HeapState final {
64 HeapState() = delete;
/dports/www/firefox/firefox-99.0/js/public/
H A DHeapAPI.h290 enum class HeapState { enum
299 JS_PUBLIC_API HeapState RuntimeHeapState();
302 return RuntimeHeapState() != HeapState::Idle; in RuntimeHeapIsBusy()
306 return RuntimeHeapState() == HeapState::Tracing; in RuntimeHeapIsTracing()
310 return RuntimeHeapState() == HeapState::MajorCollecting; in RuntimeHeapIsMajorCollecting()
314 return RuntimeHeapState() == HeapState::MinorCollecting; in RuntimeHeapIsMinorCollecting()
317 static inline bool RuntimeHeapIsCollecting(HeapState state) { in RuntimeHeapIsCollecting()
318 return state == HeapState::MajorCollecting || in RuntimeHeapIsCollecting()
319 state == HeapState::MinorCollecting; in RuntimeHeapIsCollecting()
327 return RuntimeHeapState() == HeapState::CycleCollecting; in RuntimeHeapIsCycleCollecting()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/extract/js/src/
H A Djspubtd.h143 enum class HeapState { enum
157 JS::HeapState heapState_;
163 : heapState_(JS::HeapState::Idle) in Runtime()
167 bool isHeapBusy() const { return heapState_ != JS::HeapState::Idle; } in isHeapBusy()
168 bool isHeapMajorCollecting() const { return heapState_ == JS::HeapState::MajorCollecting; } in isHeapMajorCollecting()
169 bool isHeapMinorCollecting() const { return heapState_ == JS::HeapState::MinorCollecting; } in isHeapMinorCollecting()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/include/
H A Djspubtd.h143 enum class HeapState { enum
157 JS::HeapState heapState_;
163 : heapState_(JS::HeapState::Idle) in Runtime()
167 bool isHeapBusy() const { return heapState_ != JS::HeapState::Idle; } in isHeapBusy()
168 bool isHeapMajorCollecting() const { return heapState_ == JS::HeapState::MajorCollecting; } in isHeapMajorCollecting()
169 bool isHeapMinorCollecting() const { return heapState_ == JS::HeapState::MinorCollecting; } in isHeapMinorCollecting()
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/gc/
H A DGCInternals.h32 explicit AutoTraceSession(JSRuntime* rt, JS::HeapState state = JS::HeapState::Tracing);
48 JS::HeapState prevState;
/dports/www/firefox/firefox-99.0/js/src/gc/
H A DGCInternals.h82 AutoHeapSession(GCRuntime* gc, JS::HeapState state);
89 JS::HeapState prevState;
95 explicit AutoGCSession(GCRuntime* gc, JS::HeapState state) in AutoGCSession()
107 : AutoHeapSession(&rt->gc, JS::HeapState::Tracing) {} in AutoTraceSession()
H A DGC.cpp367 heapState_(JS::HeapState::Idle), in GCRuntime()
936 MOZ_ASSERT(heapState() == JS::HeapState::MajorCollecting); in restorePermanentSharedThings()
1564 if (rt->heapState() != JS::HeapState::Idle) { in maybeTriggerGCAfterMalloc()
2871 case JS::HeapState::MinorCollecting: in GCHeapStateToLabel()
2873 case JS::HeapState::MajorCollecting: in GCHeapStateToLabel()
2883 JS::HeapState heapState) { in GCHeapStateToProfilingCategory()
2884 return heapState == JS::HeapState::MinorCollecting in GCHeapStateToProfilingCategory()
2893 MOZ_ASSERT(prevState == JS::HeapState::Idle || in AutoHeapSession()
2896 MOZ_ASSERT(heapState != JS::HeapState::Idle); in AutoHeapSession()
2900 if (heapState == JS::HeapState::MinorCollecting || in AutoHeapSession()
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/extract/js/src/gc/
H A DGCInternals.h47 explicit AutoTraceSession(JSRuntime* rt, JS::HeapState state = JS::HeapState::Tracing);
58 JS::HeapState prevState;
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/gc/
H A DGCInternals.h104 AutoHeapSession(GCRuntime* gc, JS::HeapState state);
111 JS::HeapState prevState;
117 explicit AutoGCSession(GCRuntime* gc, JS::HeapState state) in AutoGCSession()
134 AutoHeapSession(&rt->gc, JS::HeapState::Tracing) {} in AutoTraceSession()
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/gc/
H A DGCInternals.h33 JS::HeapState state = JS::HeapState::Tracing);
50 JS::HeapState prevState;
/dports/www/firefox-esr/firefox-91.8.0/js/src/gc/
H A DGCInternals.h104 AutoHeapSession(GCRuntime* gc, JS::HeapState state);
111 JS::HeapState prevState;
117 explicit AutoGCSession(GCRuntime* gc, JS::HeapState state) in AutoGCSession()
139 AutoHeapSession(&rt->gc, JS::HeapState::Tracing) {} in AutoTraceSession()
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/gc/
H A DGCInternals.h104 AutoHeapSession(GCRuntime* gc, JS::HeapState state);
111 JS::HeapState prevState;
117 explicit AutoGCSession(GCRuntime* gc, JS::HeapState state) in AutoGCSession()
139 AutoHeapSession(&rt->gc, JS::HeapState::Tracing) {} in AutoTraceSession()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/windows-0.24.0/src/Windows/Win32/System/ApplicationVerifier/
H A Dmod.rs72 pub HeapState: u32, field
91 .field("HeapState", &self.HeapState) in fmt()
99 …self.UserAllocationState == other.UserAllocationState && self.HeapState == other.HeapState && self… in eq()
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/heap/
H A Dlocal-heap-inl.h25 Heap::HeapState state = heap()->gc_state(); in AllocateRaw()
/dports/lang/zig/zig-0.9.0/lib/libc/include/any-windows-any/
H A Davrfsdk.h62 ULONG HeapState; member
/dports/lang/zig-devel/zig-0.9.0/lib/libc/include/any-windows-any/
H A Davrfsdk.h62 ULONG HeapState; member
/dports/lang/v8/v8-9.6.180.12/src/heap/
H A Dlocal-heap-inl.h29 Heap::HeapState state = heap()->gc_state(); in AllocateRaw()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/windows-sys-0.28.0/src/Windows/Win32/System/ApplicationVerifier/
H A Dmod.rs44 pub HeapState: u32, field

123