<AWT Dev> RFR(XS): 8160721: Avoid deoptimizations in Font.equals.

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Fri Jul 1 13:59:54 UTC 2016


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:

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20160701/b90687ff/attachment.html>

More information about the awt-dev mailing list