Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 9f52767120039ec90fb44d8da71dbb1decd4502c..2a83ec622801f1a2fe0da03a4a6c3d9f572c9267 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -1445,7 +1445,10 @@ void Heap::MarkCompact() { |
} |
} |
-void Heap::MinorMarkCompact() { UNREACHABLE(); } |
+void Heap::MinorMarkCompact() { |
+ TRACE_GC(tracer(), GCTracer::Scope::MINOR_MC); |
+ mark_compact_collector()->CollectGarbageInYoungGeneration(); |
+} |
void Heap::MarkCompactEpilogue() { |
TRACE_GC(tracer(), GCTracer::Scope::MC_EPILOGUE); |