RESOLVED FIXED158317
[iOS]: Some JSC stress tests fail running out of executable memory when the LLInt is disabled
https://bugs.webkit.org/show_bug.cgi?id=158317
Summary [iOS]: Some JSC stress tests fail running out of executable memory when the L...
Michael Saboff
Reported 2016-06-02 14:37:40 PDT
Some of the stress tests need so much code alive that they run out of executable memory when the LLInt is disabled. There were similar issues with the JS LayoutTests. For these tests, we should not run the "noLLInt" variant. The tests in question are ARM - stress/arrowfunction-lexical-bind-superproperty.js ARM & ARM64 - stress/proxy-revoke.js <rdar://problem/26605951> <rdar://problem/26605961>
Attachments
Patch (3.53 KB, patch)
2016-06-02 14:46 PDT, Michael Saboff
saam: review+
Michael Saboff
Comment 1 2016-06-02 14:46:59 PDT
Saam Barati
Comment 2 2016-06-02 14:49:38 PDT
Comment on attachment 280370 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=280370&action=review > Tools/Scripts/run-jsc-stress-tests:937 > + if $quickMode > + defaultQuickRun > + else > + runDefault > + runAlwaysTriggerCopyPhase > + if $jitTests > + runNoCJITValidatePhases > + runDFGEager > + runDFGEagerNoCJITValidate > + runDefaultFTL > + runFTLNoCJITValidate > + runFTLNoCJITNoPutStackValidate > + runFTLNoCJITNoInlineValidate > + runFTLEager > + runFTLEagerNoCJITValidate > + runFTLNoCJITSmallPool > + runDFGMaximalFlushPhase > + end > + end > +end I wish we had a way to just set some extra flags on every run so we don't have to copy defaultRun here. Maybe we could add something like EXTRA_OPTIONS = []; And here, you can set those options, and then set them back to empty after the run. And each run() can add EXTRA_OPTIONS
Michael Saboff
Comment 3 2016-06-02 14:52:34 PDT
Michael Saboff
Comment 4 2016-06-02 14:56:54 PDT
(In reply to comment #2) > Comment on attachment 280370 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=280370&action=review > > > Tools/Scripts/run-jsc-stress-tests:937 > > + if $quickMode > > + defaultQuickRun > > + else > > + runDefault > > + runAlwaysTriggerCopyPhase > > + if $jitTests > > + runNoCJITValidatePhases > > + runDFGEager > > + runDFGEagerNoCJITValidate > > + runDefaultFTL > > + runFTLNoCJITValidate > > + runFTLNoCJITNoPutStackValidate > > + runFTLNoCJITNoInlineValidate > > + runFTLEager > > + runFTLEagerNoCJITValidate > > + runFTLNoCJITSmallPool > > + runDFGMaximalFlushPhase > > + end > > + end > > +end > > I wish we had a way to just set some extra flags on every run so we don't > have to copy defaultRun here. > Maybe we could add something like EXTRA_OPTIONS = []; > And here, you can set those options, and then set them back to empty after > the run. > And each run() can add EXTRA_OPTIONS I was thinking we could make a more general additive process. defaultRun would run everything, but it would be composed of subgroups. For cases like this, be just run the selected subgroups.
Note You need to log in before you can comment on or make changes to this bug.