RFR(XS): 8058536 java/lang/instrument/NativeMethodPrefixAgent.java fails due to VirtualMachineError: out of space in CodeCache for method handle intrinsic
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Sat Sep 27 20:23:18 UTC 2014
Looks good!
Best regards,
Vladimir Ivanov
On 9/27/14, 4:00 AM, Igor Veresov wrote:
> The problem here is that the code of the agent (that has lambdas) starts executing early on during the initialization process because any compilers are created. Because of that, attempts to create compiled forms of MH intrinsics bail out. However, the creation of the compiled forms doesn’t require that compilers are present. One of the solutions is to create_native_wrapper() directly when we create a method for an intrinsic.
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8058536
> Webrev: http://cr.openjdk.java.net/~iveresov/8058536/webrev.00
>
>
> Thanks,
> igor
>
More information about the hotspot-compiler-dev
mailing list