Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index b09e02210f12697689e05fe371f0c72ec73b2e53..10a7b9c731d4e1cb6cd17a96d9e288e539b39825 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -703,16 +703,6 @@ 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()) { |
@@ -3217,6 +3207,11 @@ bool Heap::CreateInitialObjects() { |
} |
set_frozen_symbol(Symbol::cast(obj)); |
+ { MaybeObject* maybe_obj = AllocateSymbol(); |
+ if (!maybe_obj->ToObject(&obj)) return false; |
+ } |
+ set_elements_transition_symbol(Symbol::cast(obj)); |
+ |
{ MaybeObject* maybe_obj = SeededNumberDictionary::Allocate(this, 0, TENURED); |
if (!maybe_obj->ToObject(&obj)) return false; |
} |
@@ -6960,6 +6955,8 @@ void Heap::TearDown() { |
external_string_table_.TearDown(); |
+ mark_compact_collector()->TearDown(); |
+ |
new_space_.TearDown(); |
if (old_pointer_space_ != NULL) { |