Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 3c88980a576e8bcfc689fb6f6c62cfd93ae8fffb..d66f62d0002bb44859362e457eed3e0048b2ed17 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -970,6 +970,10 @@ bool Heap::PerformGarbageCollection(GarbageCollector collector, |
PrintPID("Unlimited new space size due to low promotion rate: %d MB\n", |
new_space_.MaximumCapacity() / MB); |
} |
+ // We turn off pre-tenuring when we turn off high promotion mode. |
Michael Starzinger
2013/04/12 10:53:41
nit: The comment is not 100% accurate, this doesn'
Hannes Payer (out of office)
2013/04/12 11:02:38
Done.
|
+ if (FLAG_pretenure_literals) { |
+ isolate_->stack_guard()->FullDeopt(); |
+ } |
} |
if (new_space_high_promotion_mode_active_ && |