[jdk25u-dev] RFR: 8286865: vmTestbase/vm/mlvm/meth/stress/jni/nativeAndMH/Test.java fails with Out of space in CodeCache

duke duke at openjdk.org
Tue Feb 3 17:54:18 UTC 2026


On Mon, 2 Feb 2026 20:33:45 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8286865: vmTestbase/vm/mlvm/meth/stress/jni/nativeAndMH/Test.java fails with Out of space in CodeCache.
> 
> This PR exclude test from running with -Xcomp flag and also moves MethodHandles.lookup() outside iteration loop (was unnecessarily invoked per iteration).
> 
> For parity with Oracle JDK.
> 
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
> 
> make test TEST=test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/stress/jni/nativeAndMH/Test.java
> 
> Results attached:
> 
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/25050639/windows-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25050641/macos-aarch64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/25050644/linux-x64-specific-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25050645/linux-aarch64-specific-test.log)

@rm-gh-8 
Your change (at version 01ff23788345964f920d5e225df70070aa18750f) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/217#issuecomment-3842773764


More information about the jdk-updates-dev mailing list