Home
last modified time | relevance | path

Searched refs:GarbageCollector (Results 1 – 22 of 22) sorted by relevance

/third_party/node/deps/v8/src/heap/cppgc/
Dgc-invoker.cc17 class GCInvoker::GCInvokerImpl final : public GarbageCollector {
19 GCInvokerImpl(GarbageCollector*, cppgc::Platform*, cppgc::Heap::StackSupport);
25 void CollectGarbage(GarbageCollector::Config) final;
26 void StartIncrementalGarbageCollection(GarbageCollector::Config) final;
37 static Handle Post(GarbageCollector* collector, cppgc::TaskRunner* runner, in Post()
38 GarbageCollector::Config config) { in Post()
46 explicit GCTask(GarbageCollector* collector, in GCTask()
47 GarbageCollector::Config config) in GCTask()
65 GarbageCollector* collector_;
66 GarbageCollector::Config config_;
[all …]
Dheap-growing.cc33 HeapGrowingImpl(GarbageCollector*, StatsCollector*,
54 GarbageCollector* collector_;
70 GarbageCollector* collector, StatsCollector* stats_collector, in HeapGrowingImpl()
96 {GarbageCollector::Config::CollectionType::kMajor, in AllocatedObjectSizeIncreased()
97 GarbageCollector::Config::StackState::kMayContainHeapPointers, in AllocatedObjectSizeIncreased()
98 GarbageCollector::Config::MarkingType::kAtomic, sweeping_support_}); in AllocatedObjectSizeIncreased()
102 {GarbageCollector::Config::CollectionType::kMajor, in AllocatedObjectSizeIncreased()
103 GarbageCollector::Config::StackState::kMayContainHeapPointers, in AllocatedObjectSizeIncreased()
147 HeapGrowing::HeapGrowing(GarbageCollector* collector, in HeapGrowing()
Dcompactor.h26 void InitializeIfShouldCompact(GarbageCollector::Config::MarkingType,
27 GarbageCollector::Config::StackState);
29 bool CancelIfShouldNotCompact(GarbageCollector::Config::MarkingType,
30 GarbageCollector::Config::StackState);
41 bool ShouldCompact(GarbageCollector::Config::MarkingType,
42 GarbageCollector::Config::StackState) const;
Dgc-invoker.h29 class V8_EXPORT_PRIVATE GCInvoker final : public GarbageCollector {
31 GCInvoker(GarbageCollector*, cppgc::Platform*, cppgc::Heap::StackSupport);
37 void CollectGarbage(GarbageCollector::Config) final;
38 void StartIncrementalGarbageCollection(GarbageCollector::Config) final;
Dcompactor.cc447 GarbageCollector::Config::MarkingType marking_type, in ShouldCompact()
448 GarbageCollector::Config::StackState stack_state) const { in ShouldCompact()
450 (marking_type == GarbageCollector::Config::MarkingType::kAtomic && in ShouldCompact()
452 GarbageCollector::Config::StackState::kMayContainHeapPointers)) { in ShouldCompact()
469 GarbageCollector::Config::MarkingType marking_type, in InitializeIfShouldCompact()
470 GarbageCollector::Config::StackState stack_state) { in InitializeIfShouldCompact()
482 GarbageCollector::Config::MarkingType marking_type, in CancelIfShouldNotCompact()
483 GarbageCollector::Config::StackState stack_state) { in CancelIfShouldNotCompact()
Dheap-growing.h19 class GarbageCollector; variable
36 HeapGrowing(GarbageCollector*, StatsCollector*,
Dheap.cc48 {internal::GarbageCollector::Config::CollectionType::kMajor, stack_state, in ForceGarbageCollectionSlow()
50 internal::GarbageCollector::Config::FreeMemoryHandling:: in ForceGarbageCollectionSlow()
52 internal::GarbageCollector::Config::IsForcedGC::kForced}); in ForceGarbageCollectionSlow()
Dheap-base.cc179 GarbageCollector::Config::CollectionType::kMajor, in Terminate()
180 GarbageCollector::Config::IsForcedGC::kForced); in Terminate()
Dheap.h21 public GarbageCollector {
Dgarbage-collector.h17 class GarbageCollector {
Dstats-collector.h69 using IsForcedGC = GarbageCollector::Config::IsForcedGC;
72 using CollectionType = GarbageCollector::Config::CollectionType;
/third_party/node/deps/v8/src/heap/cppgc-js/
Dcpp-heap.h45 using StackState = cppgc::internal::GarbageCollector::Config::StackState;
47 cppgc::internal::GarbageCollector::Config::CollectionType;
140 cppgc::internal::GarbageCollector::Config::CollectionType,
186 base::Optional<cppgc::internal::GarbageCollector::Config::CollectionType>
/third_party/node/deps/v8/src/heap/
Dgc-tracer-inl.h100 bool GCTracer::IsConsistentWithCollector(GarbageCollector collector) const { in IsConsistentWithCollector()
101 return (collector == GarbageCollector::SCAVENGER && in IsConsistentWithCollector()
103 (collector == GarbageCollector::MINOR_MARK_COMPACTOR && in IsConsistentWithCollector()
105 (collector == GarbageCollector::MARK_COMPACTOR && in IsConsistentWithCollector()
Dgc-tracer.h207 RecordGCPhasesInfo(Heap* heap, GarbageCollector collector);
245 void UpdateStatistics(GarbageCollector collector);
251 void StartCycle(GarbageCollector collector, GarbageCollectionReason gc_reason,
276 V8_INLINE bool IsConsistentWithCollector(GarbageCollector collector) const;
424 void StopCycle(GarbageCollector collector);
Dheap.h435 static inline bool IsYoungGenerationCollector(GarbageCollector collector) { in IsYoungGenerationCollector()
436 return collector == GarbageCollector::SCAVENGER || in IsYoungGenerationCollector()
437 collector == GarbageCollector::MINOR_MARK_COMPACTOR; in IsYoungGenerationCollector()
440 static inline GarbageCollector YoungGenerationCollector() { in YoungGenerationCollector()
441 return (FLAG_minor_mc) ? GarbageCollector::MINOR_MARK_COMPACTOR in YoungGenerationCollector()
442 : GarbageCollector::SCAVENGER; in YoungGenerationCollector()
445 static inline const char* CollectorName(GarbageCollector collector) { in CollectorName()
447 case GarbageCollector::SCAVENGER: in CollectorName()
449 case GarbageCollector::MARK_COMPACTOR: in CollectorName()
451 case GarbageCollector::MINOR_MARK_COMPACTOR: in CollectorName()
[all …]
Dheap.cc456 GarbageCollector Heap::SelectGarbageCollector(AllocationSpace space, in SelectGarbageCollector()
462 return GarbageCollector::MARK_COMPACTOR; in SelectGarbageCollector()
467 return GarbageCollector::MARK_COMPACTOR; in SelectGarbageCollector()
473 return GarbageCollector::MARK_COMPACTOR; in SelectGarbageCollector()
479 return GarbageCollector::MARK_COMPACTOR; in SelectGarbageCollector()
487 return GarbageCollector::MARK_COMPACTOR; in SelectGarbageCollector()
1379 void Heap::GarbageCollectionEpilogueInSafepoint(GarbageCollector collector) { in GarbageCollectionEpilogueInSafepoint()
1380 if (collector == GarbageCollector::MARK_COMPACTOR) { in GarbageCollectionEpilogueInSafepoint()
1461 void Heap::GarbageCollectionEpilogue(GarbageCollector collector) { in GarbageCollectionEpilogue()
1468 collector == GarbageCollector::MARK_COMPACTOR) { in GarbageCollectionEpilogue()
[all …]
Dgc-tracer.cc129 GarbageCollector collector) { in RecordGCPhasesInfo()
136 DCHECK_EQ(GarbageCollector::MARK_COMPACTOR, collector); in RecordGCPhasesInfo()
271 void GCTracer::StartCycle(GarbageCollector collector, in StartCycle()
288 case GarbageCollector::SCAVENGER: in StartCycle()
291 case GarbageCollector::MINOR_MARK_COMPACTOR: in StartCycle()
294 case GarbageCollector::MARK_COMPACTOR: in StartCycle()
378 void GCTracer::UpdateStatistics(GarbageCollector collector) { in UpdateStatistics()
467 void GCTracer::StopCycle(GarbageCollector collector) { in StopCycle()
501 StopCycle(GarbageCollector::MARK_COMPACTOR); in StopFullCycleIfNeeded()
516 ? GarbageCollector::SCAVENGER in StopYoungCycleIfNeeded()
[all …]
Dembedder-tracing.cc48 cppgc::internal::GarbageCollector::Config::CollectionType::kMajor, in PrepareForTrace()
Dmark-compact.cc4305 template <typename MarkingState, GarbageCollector collector>
4389 DCHECK_IMPLIES(collector == GarbageCollector::MARK_COMPACTOR, slots == 0); in UpdateUntypedPointers()
4498 NonAtomicMarkingState, GarbageCollector::MARK_COMPACTOR>>( in CreateRememberedSetUpdatingItem()
5529 NonAtomicMarkingState, GarbageCollector::MINOR_MARK_COMPACTOR>>( in CreateRememberedSetUpdatingItem()
/third_party/node/deps/v8/src/handles/
Dglobal-handles.h124 GarbageCollector collector, const v8::GCCallbackFlags gc_callback_flags);
Dglobal-handles.cc1537 GarbageCollector collector, const v8::GCCallbackFlags gc_callback_flags) { in PostGarbageCollectionProcessing()
/third_party/node/deps/v8/src/common/
Dglobals.h911 enum class GarbageCollector { SCAVENGER, MARK_COMPACTOR, MINOR_MARK_COMPACTOR }; enum