RFR: 8295724: VirtualMachineError: Out of space in CodeCache for method handle intrinsic [v3]
Dean Long
dlong at openjdk.org
Thu Nov 3 22:15:31 UTC 2022
On Thu, 3 Nov 2022 21:15:39 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:
>
> Refactor oop checks. Add metadata check.
src/hotspot/share/code/nmethod.cpp line 493:
> 491: assert(nm->metadata_size() == 0, "metadata usage not expected");
> 492: }
> 493: #endif
It might make sense to do this check for all nmethods that were allocated in NonNMethod.
-------------
PR: https://git.openjdk.org/jdk/pull/10933
More information about the hotspot-compiler-dev
mailing list