[9] RFR (M): 8050884: Intrinsify ValueConversions.identity() functions

Paul Sandoz paul.sandoz at oracle.com
Thu Jul 17 16:12:42 UTC 2014


On Jul 16, 2014, at 6:44 PM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
> http://cr.openjdk.java.net/~vlivanov/8050884/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8050884
> 
> Replace ValueConversions.identity() functions with intrinsics.
> 
> 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.

Same question as in previous email on @Stable for MethodHandles.IDENTITY_MHS.

FWIW for MethodHandles.IDENTITY_MHS the Wrapper.ordinal() is used as an index rather than using an EnumMap.

Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20140717/0bc62467/signature.asc>


More information about the mlvm-dev mailing list