RFR: 8267293: vmTestbase/vm/mlvm/anonloader/stress/oome/metaspace/Test.java fails when JTREG_JOBS > 25 [v2]

Aleksey Shipilev shade at openjdk.java.net
Tue May 18 09:50:41 UTC 2021


On Tue, 18 May 2021 06:50:12 GMT, Jie Fu <jiefu at openjdk.org> wrote:

>> Hi all,
>> 
>> vmTestbase/vm/mlvm/anonloader/stress/oome/metaspace/Test.java fails on our many-core machines due to `-XX:MaxRAMPercentage=0`.
>> This is because `-XX:MaxRAMPercentage=0` will be 0 if JTREG_JOBS > 25 [1].
>> 
>> We can also reproduce the bug by: `make test TEST="vmTestbase/vm/mlvm/anonloader/stress/oome/metaspace/Test.java" JTREG="JOBS=26"` on almost all machines.
>> 
>> This fix will make it to be more robust, which is suggested by  @shipilev [2] and many thanks to him.
>> 
>> Thanks.
>> Best regards,
>> Jie
>> 
>> [1] https://github.com/openjdk/jdk/blob/master/make/RunTests.gmk#L741
>> [2] https://github.com/openjdk/jdk/pull/4062#pullrequestreview-661198240
>
> Jie Fu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   -XX:MaxMetaspaceSize=8m

"/test" command does not work. GHA start automatically on PR updates and/or with manual trigger: https://github.com/DamonFool/jdk/actions/workflows/submit.yml

-------------

PR: https://git.openjdk.java.net/jdk/pull/4076


More information about the hotspot-runtime-dev mailing list