[bootstrapper] Bump stack requirement for native compilation.
This bumps the required stack space gap when the bootstrapper kicks off compilation of native scripts during genesis. The stack requirements are now higher for simulators in no-snapshot mode with Ignition being used. R=jochen@chromium.org TEST=mjsunit/regress/regress-681984 BUG=v8:6066 Change-Id: I65df388d1b57c09db124ac9a85d380b4edb7d260 Reviewed-on: https://chromium-review.googlesource.com/451275 Commit-Queue: Michael Starzinger <mstarzinger@chromium.org> Reviewed-by: Jochen Eisinger <jochen@chromium.org> Cr-Commit-Position: refs/heads/master@{#43675}
This commit is contained in:
parent
92da406213
commit
72975d3597
@ -3132,7 +3132,7 @@ bool Bootstrapper::CompileNative(Isolate* isolate, Vector<const char> name,
|
||||
// environment has been at least partially initialized. Add a stack check
|
||||
// before entering JS code to catch overflow early.
|
||||
StackLimitCheck check(isolate);
|
||||
if (check.JsHasOverflowed(1 * KB)) {
|
||||
if (check.JsHasOverflowed(4 * KB)) {
|
||||
isolate->StackOverflow();
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user