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

Dean Long dlong at openjdk.org
Mon Nov 7 22:40:48 UTC 2022


On Sat, 5 Nov 2022 19:27:45 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:
> 
>   Need to ignore own Method when using metadata_do.

src/hotspot/share/code/nmethod.cpp line 503:

> 501:             basic_lock_sp_offset,
> 502:             oop_maps);
> 503: #ifdef ASSERT

How about making this whole block a separate function?

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

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


More information about the hotspot-compiler-dev mailing list