Lines Matching defs:collector

1379 void Heap::GarbageCollectionEpilogueInSafepoint(GarbageCollector collector) {
1380 if (collector == GarbageCollector::MARK_COMPACTOR) {
1461 void Heap::GarbageCollectionEpilogue(GarbageCollector collector) {
1468 collector == GarbageCollector::MARK_COMPACTOR) {
1748 static GCType GetGCTypeFromGarbageCollector(GarbageCollector collector) {
1749 switch (collector) {
1790 GarbageCollector collector = SelectGarbageCollector(space, &collector_reason);
1791 GCType gc_type = GetGCTypeFromGarbageCollector(collector);
1814 size_t committed_memory_before = collector == GarbageCollector::MARK_COMPACTOR
1821 this, IsYoungGenerationCollector(collector) ? "MinorGC" : "MajorGC",
1829 if (collector == GarbageCollector::MARK_COMPACTOR && cpp_heap()) {
1842 GCTracer::RecordGCPhasesInfo record_gc_phases_info(this, collector);
1864 collector, gc_reason, collector_reason, gc_callback_flags);
1872 if (collector == GarbageCollector::MARK_COMPACTOR ||
1873 collector == GarbageCollector::SCAVENGER) {
1878 GarbageCollectionEpilogue(collector);
1879 if (collector == GarbageCollector::MARK_COMPACTOR &&
1884 if (collector == GarbageCollector::MARK_COMPACTOR) {
1912 tracer()->UpdateStatistics(collector);
1917 if (IsYoungGenerationCollector(collector)) {
1936 collector, gc_callback_flags);
1953 if (collector == GarbageCollector::MARK_COMPACTOR &&
1961 if (IsYoungGenerationCollector(collector)) {
2227 GCTracer::Scope::ScopeId CollectorScopeId(GarbageCollector collector) {
2228 switch (collector) {
2241 GarbageCollector collector, GarbageCollectionReason gc_reason,
2245 if (IsYoungGenerationCollector(collector)) {
2246 CompleteSweepingYoung(collector);
2256 tracer()->StartCycle(collector, gc_reason, collector_reason,
2259 DCHECK_EQ(GarbageCollector::MARK_COMPACTOR, collector);
2264 tracer()->StartCycle(collector, gc_reason, collector_reason,
2270 if (!Heap::IsYoungGenerationCollector(collector) &&
2275 DCHECK(tracer()->IsConsistentWithCollector(collector));
2276 TRACE_GC_EPOCH(tracer(), CollectorScopeId(collector), ThreadKind::kMain);
2306 switch (collector) {
2323 if (collector != GarbageCollector::MARK_COMPACTOR) {
2330 if (!fast_promotion_mode_ || collector == GarbageCollector::MARK_COMPACTOR) {
2351 if (collector == GarbageCollector::MARK_COMPACTOR) {
2365 if (cpp_heap() && IsYoungGenerationCollector(collector)) {
2382 RecomputeLimits(collector);
2384 GarbageCollectionEpilogueInSafepoint(collector);
2427 const GarbageCollector collector = GarbageCollector::MARK_COMPACTOR;
2428 PerformGarbageCollection(collector, gc_reason, nullptr);
2439 tracer()->UpdateStatistics(collector);
2443 void Heap::CompleteSweepingYoung(GarbageCollector collector) {
2446 switch (collector) {
2489 void Heap::RecomputeLimits(GarbageCollector collector) {
2490 if (!((collector == GarbageCollector::MARK_COMPACTOR) ||
2522 if (collector == GarbageCollector::MARK_COMPACTOR) {
7330 MarkCompactCollector* collector = this->mark_compact_collector();
7346 collector->RecordSlot(source_page, HeapObjectSlot(slot),