Paul, thanks for review.
http://cr.openjdk.java.net/~vlivanov/8050200/webrev.00/ https://bugs.openjdk.java.net/browse/JDK-8050200Replace pattern matching sequences of LambdaForm names during compilation with explicit marks on MethodHandles. Intrinsic ID is associated with a method handle using DelegatingMethodHandle. Testing: jdk/java/lang/invoke, jdk/java/util/streams, nashorn, octane w/ "-ea -esa" and COMPILE_THRESHOLD={0,30}. Reviewed-by: vlivanov, ? Contributed-by: [email protected]Looks good. I don't see any usages of the three arg MethodHandleImpl.makeIntrinsic, but i AFAICT such usages will occur further later patches.
Yes, it is used for identity [1] and zero [2] intrinics. Best regards, Vladimir Ivanov [1] http://cr.openjdk.java.net/~vlivanov/lfc/patches.latest/12.identity [2] http://cr.openjdk.java.net/~vlivanov/lfc/patches.latest/13.zero
