RESOLVED FIXED 164125
Skip 2 JS stress tests on memory limited devices
https://bugs.webkit.org/show_bug.cgi?id=164125
Summary Skip 2 JS stress tests on memory limited devices
Csaba Osztrogonác
Reported 2016-10-28 06:20:07 PDT
JSTests/stress/joined-strings-should-not-exceed-max-string-length.js introduced in r207849 and JSTests/stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js introduced in r207861. Both of these test consume huge memory, so they should be skipped on memory limited devices. test1 ------ //@ runFTLNoCJIT //@ largeHeap test2 ------ //@ runFTLNoCJIT //@ slow! //@largeHeap The original intention was to skip these tests on memory limited devices, but unfortunately run-jsc-stress-tests script can't handle these annotations properly. RJST doesn't have any complex logic, it simply executes everything after "//@" magic annotation. But runFTLNoCJIT, runDefault, etc. doesn't know if you put largeHeap annotation too to the same test file. There were a similar fix not so long ago in bug162386 . I'm going to land the same workaround to this bug to unbreak JSCOnly ARM bots. But please let me know if you know a better and general fix for this RJST bug/feature.
Attachments
Patch for landing (2.09 KB, patch)
2016-10-28 06:48 PDT, Csaba Osztrogonác
no flags
Csaba Osztrogonác
Comment 1 2016-10-28 06:48:02 PDT
Created attachment 293150 [details] Patch for landing
Csaba Osztrogonác
Comment 2 2016-10-28 06:59:25 PDT
(In reply to comment #0) > JSTests/stress/joined-strings-should-not-exceed-max-string-length.js > introduced in r207849 and > JSTests/stress/string-prototype-replace-should-throw-out-of-memory-error- > when-using-too-much-memory.js > introduced in r207861. Both of these test consume huge memory, so they > should be skipped on memory > limited devices. note: - JSTests/stress/joined-strings-should-not-exceed-max-string-length.js consumes 1.1Gb memory on X86_64 - JSTests/stress/string-prototype-replace-should-throw-out-of-memory-error- > when-using-too-much-memory.js consumes 6.5Gb memory on X86_64
WebKit Commit Bot
Comment 3 2016-10-28 07:23:56 PDT
Comment on attachment 293150 [details] Patch for landing Clearing flags on attachment: 293150 Committed r208047: <http://trac.webkit.org/changeset/208047>
WebKit Commit Bot
Comment 4 2016-10-28 07:24:00 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.