Chromium Code Reviews| Index: src/isolate.cc |
| diff --git a/src/isolate.cc b/src/isolate.cc |
| index bdf82926ceea02c8663061278c0c3e7846d2c845..34a31f9148bd8d29ab6671049fb738f17b7414be 100644 |
| --- a/src/isolate.cc |
| +++ b/src/isolate.cc |
| @@ -833,6 +833,10 @@ Object* Isolate::StackOverflow() { |
| Throw(*exception, nullptr); |
| CaptureAndSetSimpleStackTrace(exception, factory()->undefined_value()); |
| + if (FLAG_verify_heap && FLAG_stress_compaction) { |
|
Michael Starzinger
2015/03/26 15:26:04
Needs to also be #ifdef'ed with VERIFY_HEAP here.
|
| + heap()->CollectAllAvailableGarbage("trigger compaction"); |
| + } |
| + |
| return heap()->exception(); |
| } |