RFR: 8295724: VirtualMachineError: Out of space in CodeCache for method handle intrinsic

Dean Long dlong at openjdk.org
Wed Nov 2 18:42:26 UTC 2022


On Tue, 1 Nov 2022 13:13:46 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> This proposal prevents the VM from terminating unexpectedly in some rare cases (see JBS issue). It allows using NonNMethod code space for method handle intrinsics which are needed urgently if the other code cache spaces are full. There are other options (see JBS issue), but this one appears to be the simplest one.

I think we need a test for this case, even if it requires the use of WhiteBox to trigger it reliably.  For an alternative solution, can't we fall back to using the pre-generated interpreter entries?

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

PR: https://git.openjdk.org/jdk/pull/10933


More information about the hotspot-compiler-dev mailing list