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

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

  Add regular full gc

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

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

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

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