diff options
Diffstat (limited to 'chromium/v8/src/heap.cc')
-rw-r--r-- | chromium/v8/src/heap.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/v8/src/heap.cc b/chromium/v8/src/heap.cc index 1e9091b30d8..d9dc8c19b07 100644 --- a/chromium/v8/src/heap.cc +++ b/chromium/v8/src/heap.cc @@ -561,6 +561,9 @@ void Heap::GarbageCollectionEpilogue() { if (FLAG_code_stats) ReportCodeStatistics("After GC"); #endif if (FLAG_deopt_every_n_garbage_collections > 0) { + // TODO(jkummerow/ulan/jarin): This is not safe! We can't assume that + // the topmost optimized frame can be deoptimized safely, because it + // might not have a lazy bailout point right after its current PC. if (++gcs_since_last_deopt_ == FLAG_deopt_every_n_garbage_collections) { Deoptimizer::DeoptimizeAll(isolate()); gcs_since_last_deopt_ = 0; |