| Index: src/heap.cc
|
| ===================================================================
|
| --- src/heap.cc (revision 8139)
|
| +++ src/heap.cc (working copy)
|
| @@ -107,6 +107,7 @@
|
| cell_space_(NULL),
|
| lo_space_(NULL),
|
| gc_state_(NOT_IN_GC),
|
| + gc_post_process_count_(0),
|
| mc_count_(0),
|
| ms_count_(0),
|
| gc_count_(0),
|
| @@ -793,12 +794,14 @@
|
| }
|
|
|
| isolate_->counters()->objs_since_last_young()->Set(0);
|
| -
|
| +
|
| + gc_post_process_count_++;
|
| { DisableAssertNoAllocation allow_allocation;
|
| GCTracer::Scope scope(tracer, GCTracer::Scope::EXTERNAL);
|
| next_gc_likely_to_collect_more =
|
| isolate_->global_handles()->PostGarbageCollectionProcessing(collector);
|
| }
|
| + gc_post_process_count_--;
|
|
|
| // Update relocatables.
|
| Relocatable::PostGarbageCollectionProcessing();
|
|
|