[9] RFR (S): 8056926: Improve caching of GuardWithTest combinator
Paul Sandoz
paul.sandoz at oracle.com
Mon Sep 1 09:48:35 UTC 2014
On Aug 29, 2014, at 7:20 PM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
> http://cr.openjdk.java.net/~vlivanov/8056926/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8056926
>
> Cache GuardWithTest per erased to basic types signature.
>
> GWT shape is made friendly to sharing:
> * GWT MH is implemented as BMH which stores 3 method handles
> * LF loads them from the associated MethodHandle
>
> 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
>
+1
To be on the safe side should a @ForceInline be stuffed on the "selectAlternative" method?
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/20140901/3a974766/signature.asc>
More information about the mlvm-dev
mailing list