<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>209690</bug_id>
          
          <creation_ts>2020-03-27 17:37:55 -0700</creation_ts>
          <short_desc>Skip stress/test-out-of-memory.js on memory limited devices.</short_desc>
          <delta_ts>2020-03-28 06:21:22 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Lam">mark.lam</reporter>
          <assigned_to name="Mark Lam">mark.lam</assigned_to>
          <cc>keith_miller</cc>
    
    <cc>ticaiolima</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1635070</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2020-03-27 17:37:55 -0700</bug_when>
    <thetext>&lt;rdar://problem/60659198&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1635071</commentid>
    <comment_count>1</comment_count>
      <attachid>394773</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2020-03-27 17:42:46 -0700</bug_when>
    <thetext>Created attachment 394773
proposed patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1635072</commentid>
    <comment_count>2</comment_count>
      <attachid>394773</attachid>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2020-03-27 17:45:09 -0700</bug_when>
    <thetext>Comment on attachment 394773
proposed patch.

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

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

I think $memoryLimited is a superset of &quot;arm&quot;/&quot;mips&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1635074</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2020-03-27 17:52:38 -0700</bug_when>
    <thetext>(In reply to Keith Miller from comment #2)
&gt; Comment on attachment 394773 [details]
&gt; proposed patch.
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=394773&amp;action=review
&gt; 
&gt; &gt; JSTests/stress/test-out-of-memory.js:1
&gt; &gt; +//@ skip if $memoryLimited or [&quot;arm&quot;, &quot;mips&quot;].include?($architecture)
&gt; 
&gt; I think $memoryLimited is a superset of &quot;arm&quot;/&quot;mips&quot;?

I think you&apos;re right, but I don&apos;t see code that confirms this for sure.  This change is conservative.  I would like to land it to green a bot, and I&apos;ll ping the arm/mips guys to remove the condition if it is indeed unnecessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1635075</commentid>
    <comment_count>4</comment_count>
      <attachid>394773</attachid>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2020-03-27 17:53:33 -0700</bug_when>
    <thetext>Comment on attachment 394773
proposed patch.

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

r=me.

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

sounds good. Can you make sure to ping them?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1635077</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2020-03-27 17:57:29 -0700</bug_when>
    <thetext>Thanks.  Landed in r259149: &lt;http://trac.webkit.org/r259149&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1635168</commentid>
    <comment_count>6</comment_count>
      <attachid>394773</attachid>
    <who name="Caio Lima">ticaiolima</who>
    <bug_when>2020-03-28 06:21:22 -0700</bug_when>
    <thetext>Comment on attachment 394773
proposed patch.

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

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

Just for the record, `$memoryLimited` and `$architecture == &quot;arm&quot; or &quot;mips&quot;`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&apos;m afraid we won&apos;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 &quot;arm&quot;/&quot;mips&quot;` now, but It can change in the future.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>394773</attachid>
            <date>2020-03-27 17:42:46 -0700</date>
            <delta_ts>2020-03-27 17:53:33 -0700</delta_ts>
            <desc>proposed patch.</desc>
            <filename>bug-209690.patch</filename>
            <type>text/plain</type>
            <size>1056</size>
            <attacher name="Mark Lam">mark.lam</attacher>
            
              <data encoding="base64">SW5kZXg6IEpTVGVzdHMvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIEpTVGVzdHMvQ2hhbmdlTG9n
CShyZXZpc2lvbiAyNTkxNDcpCisrKyBKU1Rlc3RzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpA
QCAtMSwzICsxLDEzIEBACisyMDIwLTAzLTI3ICBNYXJrIExhbSAgPG1hcmsubGFtQGFwcGxlLmNv
bT4KKworICAgICAgICBTa2lwIHN0cmVzcy90ZXN0LW91dC1vZi1tZW1vcnkuanMgb24gbWVtb3J5
IGxpbWl0ZWQgZGV2aWNlcy4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19i
dWcuY2dpP2lkPTIwOTY5MAorICAgICAgICA8cmRhcjovL3Byb2JsZW0vNjA2NTkxOTg+CisKKyAg
ICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgKiBzdHJlc3MvdGVz
dC1vdXQtb2YtbWVtb3J5LmpzOgorCiAyMDIwLTAzLTI3ICBQYXVsbyBNYXRvcyAgPHBtYXRvc0Bp
Z2FsaWEuY29tPgogCiAgICAgICAgIFNraXAgbmV3IG1lbW9yeSB0ZXN0IHN0cmVzcy90eXBlZC1h
cnJheS1vb20taW4uLi4gaW4gbWVtb3J5IGxpbWl0ZWQgZGV2aWNlcwpJbmRleDogSlNUZXN0cy9z
dHJlc3MvdGVzdC1vdXQtb2YtbWVtb3J5LmpzCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIEpTVGVzdHMvc3RyZXNz
L3Rlc3Qtb3V0LW9mLW1lbW9yeS5qcwkocmV2aXNpb24gMjU5MTM1KQorKysgSlNUZXN0cy9zdHJl
c3MvdGVzdC1vdXQtb2YtbWVtb3J5LmpzCSh3b3JraW5nIGNvcHkpCkBAIC0xLDQgKzEsNSBAQAot
Ly9AIGlmIFsiYXJtIiwgIm1pcHMiXS5pbmNsdWRlPygkYXJjaGl0ZWN0dXJlKSB0aGVuIHNraXAg
ZWxzZSBydW5EZWZhdWx0IGVuZAorLy9AIHNraXAgaWYgJG1lbW9yeUxpbWl0ZWQgb3IgWyJhcm0i
LCAibWlwcyJdLmluY2x1ZGU/KCRhcmNoaXRlY3R1cmUpCisvL0AgcnVuRGVmYXVsdAogCiBjb25z
dCBhID0gWzBdOwogYS5fX3Byb3RvX18gPSB7fTsK
</data>
<flag name="review"
          id="410219"
          type_id="1"
          status="+"
          setter="keith_miller"
    />
          </attachment>
      

    </bug>

</bugzilla>