Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: src/isolate.cc

Issue 1034173002: Always update raw pointers when handling interrupts inside RegExp code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ia32/regexp-macro-assembler-ia32.cc ('k') | src/regexp-macro-assembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « src/ia32/regexp-macro-assembler-ia32.cc ('k') | src/regexp-macro-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698