[jdk11u-dev] RFR: 8366125: [11u] Test compiler/loopopts/TestRangeCheckPredicatesControl.java fails OOM

SendaoYan syan at openjdk.org
Tue Aug 26 07:40:23 UTC 2025


Hi all,

On ours linux-x64 machine, `-Xmx256M -XX:+UnlockExperimentalVMOptions -XX:+UseZGC` can not start JVM because of OOM. I think it's not a JVM bug in jdk11u, I think we should increase the max heap size to make test run normally after [JDK-8251949](https://bugs.openjdk.org/browse/JDK-8251949). The `-Xmx256m` was introduced by [JDK-8251949](https://bugs.openjdk.org/browse/JDK-8251949) only for jdk11u. So this PR will only for jdk11u also.

Change has been verified locally, test-fix only, ro risk.

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

Commit messages:
 - 8366125: [11u] Test compiler/loopopts/TestRangeCheckPredicatesControl.java fails OOM

Changes: https://git.openjdk.org/jdk11u-dev/pull/3077/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3077&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366125
  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/3077.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3077/head:pull/3077

PR: https://git.openjdk.org/jdk11u-dev/pull/3077


More information about the jdk-updates-dev mailing list