RFR: 8267311: vmTestbase/gc/gctests/StringInternGC/StringInternGC.java fails when JTREG_JOBS > 25

Jie Fu jiefu at openjdk.java.net
Tue May 18 09:50:56 UTC 2021


Hi all,

vmTestbase/gc/gctests/StringInternGC/StringInternGC.java fails with release VM on our many-core machines due to `-XX:MaxRAMPercentage=0`.
This is because `-XX:MaxRAMPercentage=0` will be 0 if JTREG_JOBS > 25 [1].

Reproduce:
 - make test TEST="vmTestbase/gc/gctests/StringInternGC/StringInternGC.java" JTREG="JOBS=26" CONF=server-release

`-Xmx1g` is added to make it more robust.
Note: we still see failure with `-Xmx512m`.

Thanks.
Best regards,
Jie

[1] https://github.com/openjdk/jdk/blob/master/make/RunTests.gmk#L741

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

Commit messages:
 - 8267311: vmTestbase/gc/gctests/StringInternGC/StringInternGC.java fails when JTREG_JOBS > 25

Changes: https://git.openjdk.java.net/jdk/pull/4086/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4086&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8267311
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4086.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4086/head:pull/4086

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



More information about the hotspot-gc-dev mailing list