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

Ramkumar Sunderbabu rsunderbabu at openjdk.org
Thu Aug 21 01:18:51 UTC 2025


On Thu, 21 Aug 2025 00:05:58 GMT, Dean Long <dlong at openjdk.org> wrote:

> -Xcomp is a useful stress flag, and this test is meant to stress MHs, not the code cache, so can we increase the code cache size enough to let it pass with -Xcomp?

The number of iterations are proportional to number of CPUs. so we cannot predict the required cache size.
Another alternative is to cap the number of CPU based scaling to some number. If the number is capped, someone might doubt if we have stressed MHs enough.

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

PR Comment: https://git.openjdk.org/jdk/pull/26840#issuecomment-3208606364


More information about the hotspot-compiler-dev mailing list