RFR (XS) 8251949: ZGC: Set explicit heap size for compiler/gcbarriers tests

Aleksey Shipilev shade at redhat.com
Wed Aug 19 09:54:18 UTC 2020


On 8/19/20 11:52 AM, Per Liden wrote:
> Hi,
> 
> On 8/19/20 9:03 AM, Aleksey Shipilev wrote:
>> On 8/19/20 9:00 AM, Per Liden wrote:
>>> Hi,
>>>
>>> On 8/18/20 2:41 PM, Aleksey Shipilev wrote:
>>>> Testbug:
>>>>      https://bugs.openjdk.java.net/browse/JDK-8251949
>>>>
>>>> On large TR 3970X, jtreg asks for MaxRAMFraction=0, which makes ZGC use
>>>> 128M heap for some tests. These tests reliably fail with OOM in
>>>> jdk-updates/jdk11u-dev:
>>>>      compiler/gcbarriers/UnsafeIntrinsicsTest.java
>>>>      compiler/loopopts/TestRangeCheckPredicatesControl.java
>>>>
>>>> While they do not fail in jdk/jdk, I think it makes more sense to add
>>>> explicit heap sizes in jdk/jdk, and then backport to 11u. The
>>>
>>> If it's only a problem in jdk11u why stick this in jdk/jdk?
>>
>> I thought that test configurations are better to agree in all maintained
>> repositories. I haven't pushed yet, can do it just in 11u, if you think
>> that's better.
> 
> I would prefer if it's only in 11u, as it otherwise gives the false
> impression that it's (still) needed in jdk/jdk, when it's not.

All right, I'll do it in 11u then.

-- 
Thanks,
-Aleksey



More information about the hotspot-gc-dev mailing list