RFR: 8267311: vmTestbase/gc/gctests/StringInternGC/StringInternGC.java eventually OOMEs [v2]

Jie Fu jiefu at openjdk.java.net
Fri May 21 09:22:09 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

Jie Fu has updated the pull request incrementally with one additional commit since the last revision:

  vmTestbase/gc/gctests/StringInternGC/StringInternGC.java eventually OOMEs

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4086/files
  - new: https://git.openjdk.java.net/jdk/pull/4086/files/21475def..4283c773

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4086&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4086&range=00-01

  Stats: 6 lines in 1 file changed: 4 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