Integrated: 8267293: vmTestbase/vm/mlvm/anonloader/stress/oome/metaspace/Test.java fails when JTREG_JOBS > 25

Jie Fu jiefu at openjdk.java.net
Wed May 19 09:06:47 UTC 2021


On Mon, 17 May 2021 23:28:43 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

This pull request has now been integrated.

Changeset: 2d407e12
Author:    Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/2d407e12fac1bdf29d339754f234227894416426
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

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

Reviewed-by: stuefe, shade

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

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


More information about the hotspot-runtime-dev mailing list