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

Dean Long dlong at openjdk.org
Thu Nov 3 22:21:26 UTC 2022


On Thu, 3 Nov 2022 21:51:02 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> Is it possible to have a backup stub? It can trap to c code, do what the method handle intrinsics is supposed to do (by iterating on the signature), and continue execution.

Yes, I was thinking the interpreter _linkToNative might need to do that, similar to how old versions of the JDK had a generic native method wrapper that could handle all signatures.  That can be investigated as part of JDK-8296336.

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

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


More information about the hotspot-compiler-dev mailing list