[jdk25u-dev] Integrated: 8286865: vmTestbase/vm/mlvm/meth/stress/jni/nativeAndMH/Test.java fails with Out of space in CodeCache
Roland Mesde
duke at openjdk.org
Tue Feb 3 18:56:48 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)
This pull request has now been integrated.
Changeset: a2465881
Author: Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk25u-dev/commit/a2465881b79a75e0c3e6da51ca5df951804da5d4
Stats: 24 lines in 1 file changed: 15 ins; 8 del; 1 mod
8286865: vmTestbase/vm/mlvm/meth/stress/jni/nativeAndMH/Test.java fails with Out of space in CodeCache
Backport-of: 1b11bea76ba29d1dfa414ad7e10693cf054bb96f
-------------
PR: https://git.openjdk.org/jdk25u-dev/pull/217
More information about the jdk-updates-dev
mailing list