RFR: 8274838: runtime/cds/appcds/TestSerialGCWithCDS.java fails on Windows [v2]

Jie Fu jiefu at openjdk.java.net
Wed Oct 6 23:22:24 UTC 2021

> Hi all,
> runtime/cds/appcds/TestSerialGCWithCDS.java fails on our Windows hosts.
> This is because the failure msgs are different with `-Xmx2m` and `-Xmx1m` on Windows.
> # ./java -Xmx2m -XX:+UseSerialGC -XX:ObjectAlignmentInBytes=64 -version
> Error occurred during initialization of VM
> GC triggered before VM initialization completed. Try increasing NewSize, current value 640K.
> #  ./java -Xmx1m -XX:+UseSerialGC -XX:ObjectAlignmentInBytes=64 -version
> Error occurred during initialization of VM
> Too small maximum heap
> The test only handles the `-Xmx1m` msg but fails with `-Xmx2m`.
> The fix takes both error msgs into consideration.
> Thanks.
> Best regards,
> Jie

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

  Update error msg


  - all: https://git.openjdk.java.net/jdk/pull/5839/files
  - new: https://git.openjdk.java.net/jdk/pull/5839/files/b6d75f66..a2271b48

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5839.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5839/head:pull/5839

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

More information about the hotspot-runtime-dev mailing list