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

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

  Move System.gc() out of generateString()

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4086/files
  - new: https://git.openjdk.java.net/jdk/pull/4086/files/1d691747..43f2b61d

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

  Stats: 12 lines in 1 file changed: 6 ins; 6 del; 0 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