[lworld] RFR: 8377563: [lworld] Lower ReservedCodeCacheSize for runtime/valhalla/inlinetypes/classloading/ConcurrentClassLoadingTest.java

Fei Yang fyang at openjdk.org
Tue Feb 10 13:49:11 UTC 2026


Hi,

Please consider this small test-only change.

ReservedCodeCacheSize is set to 2GB in https://bugs.openjdk.org/browse/JDK-8367691.
But 2GB is not always the limit across all platforms. RISC-V reset this limit to 2047MB for performance reasons.
Seem to me a limit of 1GB would be more than enough for this test case. So this change.

Testing: verified using the same test on both x64 and aarch64 platforms with fastdebug build.

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

Commit messages:
 - 8377563: [lworld] Lower ReservedCodeCacheSize for runtime/valhalla/inlinetypes/classloading/ConcurrentClassLoadingTest.java

Changes: https://git.openjdk.org/valhalla/pull/2071/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2071&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8377563
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/valhalla/pull/2071.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2071/head:pull/2071

PR: https://git.openjdk.org/valhalla/pull/2071


More information about the valhalla-dev mailing list