Index: src/heap.cc |
=================================================================== |
--- src/heap.cc (revision 12520) |
+++ src/heap.cc (working copy) |
@@ -619,10 +619,12 @@ |
PerformGarbageCollection(collector, &tracer); |
rate->Stop(); |
+ ASSERT(collector == SCAVENGER || incremental_marking()->IsStopped()); |
+ |
+ // This can do debug callbacks and restart incremental marking. |
GarbageCollectionEpilogue(); |
} |
- ASSERT(collector == SCAVENGER || incremental_marking()->IsStopped()); |
if (incremental_marking()->IsStopped()) { |
if (incremental_marking()->WorthActivating() && NextGCIsLikelyToBeFull()) { |
incremental_marking()->Start(); |