RFR: 8267293: vmTestbase/vm/mlvm/anonloader/stress/oome/metaspace/Test.java fails when JTREG_JOBS > 25 [v2]
Jie Fu
jiefu at openjdk.java.net
Tue May 18 06:50:12 UTC 2021
> 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
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4076/files
- new: https://git.openjdk.java.net/jdk/pull/4076/files/0838bac9..2e618c17
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4076&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4076&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/4076.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4076/head:pull/4076
PR: https://git.openjdk.java.net/jdk/pull/4076
More information about the hotspot-runtime-dev
mailing list