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

Paul Hübner phubner at openjdk.org
Thu Feb 12 10:29:49 UTC 2026


On Tue, 10 Feb 2026 13:39:11 GMT, Fei Yang <fyang at openjdk.org> wrote:

> 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.

The tests look good on my end, thanks again for fixing this.

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

Marked as reviewed by phubner (Committer).

PR Review: https://git.openjdk.org/valhalla/pull/2071#pullrequestreview-3790065390


More information about the valhalla-dev mailing list