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

Martin Doerr mdoerr at openjdk.org
Tue Nov 29 13:14:01 UTC 2022


On Thu, 24 Nov 2022 17:00:42 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.
>
> Martin Doerr has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add regression test.

Please note that other people have observed this problem, too. See [JDK-8297267](https://bugs.openjdk.org/browse/JDK-8297267). I think we should have a fix for JDK 20. Can we use this proposal or are there more concerns? I guess [JDK-8296336](https://bugs.openjdk.org/browse/JDK-8296336) won't make it into JDK 20.

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

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


More information about the hotspot-compiler-dev mailing list