Bug 209690 - Skip stress/test-out-of-memory.js on memory limited devices.
Summary: Skip stress/test-out-of-memory.js on memory limited devices.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-03-27 17:37 PDT by Mark Lam
Modified: 2020-03-28 06:21 PDT (History)
3 users (show)

See Also:


Attachments
proposed patch. (1.03 KB, patch)
2020-03-27 17:42 PDT, Mark Lam
keith_miller: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2020-03-27 17:37:55 PDT
<rdar://problem/60659198>
Comment 1 Mark Lam 2020-03-27 17:42:46 PDT
Created attachment 394773 [details]
proposed patch.
Comment 2 Keith Miller 2020-03-27 17:45:09 PDT
Comment on attachment 394773 [details]
proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=394773&action=review

> JSTests/stress/test-out-of-memory.js:1
> +//@ skip if $memoryLimited or ["arm", "mips"].include?($architecture)

I think $memoryLimited is a superset of "arm"/"mips"?
Comment 3 Mark Lam 2020-03-27 17:52:38 PDT
(In reply to Keith Miller from comment #2)
> Comment on attachment 394773 [details]
> proposed patch.
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=394773&action=review
> 
> > JSTests/stress/test-out-of-memory.js:1
> > +//@ skip if $memoryLimited or ["arm", "mips"].include?($architecture)
> 
> I think $memoryLimited is a superset of "arm"/"mips"?

I think you're right, but I don't see code that confirms this for sure.  This change is conservative.  I would like to land it to green a bot, and I'll ping the arm/mips guys to remove the condition if it is indeed unnecessary.
Comment 4 Keith Miller 2020-03-27 17:53:33 PDT
Comment on attachment 394773 [details]
proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=394773&action=review

r=me.

>>> JSTests/stress/test-out-of-memory.js:1
>>> +//@ skip if $memoryLimited or ["arm", "mips"].include?($architecture)
>> 
>> I think $memoryLimited is a superset of "arm"/"mips"?
> 
> I think you're right, but I don't see code that confirms this for sure.  This change is conservative.  I would like to land it to green a bot, and I'll ping the arm/mips guys to remove the condition if it is indeed unnecessary.

sounds good. Can you make sure to ping them?
Comment 5 Mark Lam 2020-03-27 17:57:29 PDT
Thanks.  Landed in r259149: <http://trac.webkit.org/r259149>.
Comment 6 Caio Lima 2020-03-28 06:21:22 PDT
Comment on attachment 394773 [details]
proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=394773&action=review

>>>> JSTests/stress/test-out-of-memory.js:1
>>>> +//@ skip if $memoryLimited or ["arm", "mips"].include?($architecture)
>>> 
>>> I think $memoryLimited is a superset of "arm"/"mips"?
>> 
>> I think you're right, but I don't see code that confirms this for sure.  This change is conservative.  I would like to land it to green a bot, and I'll ping the arm/mips guys to remove the condition if it is indeed unnecessary.
> 
> sounds good. Can you make sure to ping them?

Just for the record, `$memoryLimited` and `$architecture == "arm" or "mips"`are note related each other. However, we use `--memory-limited` to run stress tests in all bots for ARMv7 and MIPS. Since it is defined in bots configuration, I'm afraid we won't find any relationship of them on WebKit tree. I think it is fine to have a mental model that `$memoryLimited is a superset of "arm"/"mips"` now, but It can change in the future.