RFR: 8213035: Pack MethodHandleInlineStrategy coder and length into a long
Mandy Chung
mandy.chung at oracle.com
Mon Oct 29 19:16:44 UTC 2018
On 10/29/18 8:17 AM, Claes Redestad wrote:
> Hi,
>
> by packing the coder and length values into a long, and combining the
> length and coder mixers, we can reduce the number of MHs generated to
> set up String concatenations.
>
> Theoretically we reduce the number of MHs created by up to a third,
> and real time improvements in startup tests exercising ISC typically
> hover around 10%. This optimization reverts JDK-8212597[1], so
> expressions that benefited from that of course sees a smaller or no
> added benefit.
>
> http://cr.openjdk.java.net/~redestad/8213035/jdk.00/
> https://bugs.openjdk.java.net/browse/JDK-8213035
>
This looks okay to me.
Mandy
More information about the core-libs-dev
mailing list