[9] RFR (M): 8050200: Make LambdaForm intrinsics detection more robust

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed Jul 16 10:57:49 UTC 2014

Paul, thanks for review.

>> http://cr.openjdk.java.net/~vlivanov/8050200/webrev.00/
>> https://bugs.openjdk.java.net/browse/JDK-8050200
>> Replace 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: john.r.rose at oracle.com
> 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

More information about the core-libs-dev mailing list