While discussing JDK-8295724, the idea came up, to use C2I adapters and the interpreter entries when an attempt to allocate a method handle intrinsic failed because of missing free space in code cache. This would need an interpreter implementation for "_linkToNative" which is currently not available on any platform. In addition, C2I adapters need space in the code cache. We should check if this fallback solution makes sense or if there's another one.
- relates to
-
JDK-8295724 VirtualMachineError: Out of space in CodeCache for method handle intrinsic
- Resolved
-
JDK-8338486 JVM running out of CodeCache for adapters is not recoverable
- Open