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

Dean Long dlong at openjdk.org
Tue Nov 8 19:38:25 UTC 2022


On Tue, 8 Nov 2022 17:57:56 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:
> 
>   Fix typo in comment.

It sounds like using nmethods for compiled method handle intrinsics isn't necessary and causes problems.  What if we store them as MethodHandlesAdapterBlobs like we do for the interpreter?  Lookup would need to go through method->adapter() instead of method->code().  Is there already an RFE filed for this?

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

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


More information about the hotspot-compiler-dev mailing list