RFR: 8295724: VirtualMachineError: Out of space in CodeCache for method handle intrinsic
Martin Doerr
mdoerr at openjdk.org
Wed Nov 2 17:03:33 UTC 2022
On Wed, 2 Nov 2022 16:49:06 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> Thank you for testing explanation.
>
> An other question: why only MH? May be this should be done for all native methods.
Only MH intrinsic allocation failures force the VM to terminate. Native wrappers are not required to continue execution. They can still get generated after GC has done its work and the other spaces are available again. I only wanted to use the NonNMethod space in emergency situations when the VM has no alternative. If we use it more often, it may get full, too, and then we wouldn't have any free space at all.
-------------
PR: https://git.openjdk.org/jdk/pull/10933
More information about the hotspot-compiler-dev
mailing list