<AWT Dev> RFR(XS): 8160721: Avoid deoptimizations in Font.equals.
Phil Race
philip.race at oracle.com
Fri Jul 1 17:35:27 UTC 2016
Please resend this to 2d-dev. All font related API and implementation
is part of 2D, not AWT.
-phil.
On 7/1/2016 6:59 AM, Lindenmaier, Goetz wrote:
>
> Hi,
>
> This small fix improves performance of the C2 compiler.
>
> We see deoptimizations due to class casts in Font.equals.
> Use instanceof check instead of catching the exception.
>
> Please review this change:
>
> http://cr.openjdk.java.net/~goetz/wr16/8160721-deoptFont/
> <http://cr.openjdk.java.net/%7Egoetz/wr16/8160721-deoptFont/>
>
> Best regards,
>
> Goetz.
>
More information about the awt-dev
mailing list