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
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to