Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index fd0dc413802abf30ea169a76a3f80877f9e4dc29..b2c12183cb251fcd859e6a62cf3979d7037f4f37 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -703,6 +703,16 @@ bool Heap::CollectGarbage(AllocationSpace space, |
} |
+int Heap::NotifyContextDisposed() { |
+ if (FLAG_parallel_recompilation) { |
+ // Flush the queued recompilation tasks. |
+ isolate()->optimizing_compiler_thread()->Flush(); |
+ } |
+ flush_monomorphic_ics_ = true; |
+ return ++contexts_disposed_; |
+} |
+ |
+ |
void Heap::PerformScavenge() { |
GCTracer tracer(this, NULL, NULL); |
if (incremental_marking()->IsStopped()) { |