| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index a206b1d12e4beb525a4ffb2235e37ee9571ec830..ea5671972e3f201bed1fbb8de20826ae0d6efee7 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -4180,6 +4180,10 @@ void MarkCompactCollector::SweepSpaces() {
|
|
|
| // Deallocate evacuated candidate pages.
|
| ReleaseEvacuationCandidates();
|
| + CodeRange* code_range = heap()->isolate()->code_range();
|
| + if (code_range != NULL && code_range->valid()) {
|
| + code_range->ReserveEmergencyBlock();
|
| + }
|
|
|
| if (FLAG_print_cumulative_gc_stat) {
|
| heap_->tracer()->AddSweepingTime(base::OS::TimeCurrentMillis() -
|
|
|