[9] RFR (S): 8075263: MHI::checkCustomized isn't eliminated for inlined MethodHandles (original) (raw)
Vladimir Ivanov vladimir.x.ivanov at oracle.com
Mon Mar 16 18:47:44 UTC 2015
- Previous message: [9] RFR (S): 8074548: Never-taken branches cause repeated deopts in MHs.GWT case
- Next message: [9] RFR (S): 8075263: MHI::checkCustomized isn't eliminated for inlined MethodHandles
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://cr.openjdk.java.net/~vlivanov/8075263/webrev.00/hotspot http://cr.openjdk.java.net/~vlivanov/8075263/webrev.00/jdk https://bugs.openjdk.java.net/browse/JDK-8075263
When MethodHandle is a compile-time constant and it is inlined in MethodHandle.invoke/invokeExact there's no need in MHI::checkCustomized call. It should be eliminated since it adds some overhead on fast path.
The fix is to add new intrinsic (MHI::isCompileConstant) and use it to prune MHI::checkCustomized logic when MethodHandle is a constant.
Testing: java/lang/invoke, nashorn, octane
Best regards, Vladimir Ivanov
- Previous message: [9] RFR (S): 8074548: Never-taken branches cause repeated deopts in MHs.GWT case
- Next message: [9] RFR (S): 8075263: MHI::checkCustomized isn't eliminated for inlined MethodHandles
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the hotspot-compiler-dev mailing list