[OpenJDK 2D-Dev] <AWT Dev> RFR(XS): 8160721: Avoid deoptimizations in Font.equals.
Lindenmaier, Goetz
goetz.lindenmaier at sap.com
Mon Jul 4 06:32:56 UTC 2016
Hi,
Resending this to 2d-dev.
Also, I made a new webrev considering Remi's comments:
http://cr.openjdk.java.net/~goetz/wr16/8160721-deoptFont/webrev.02/
Best regards,
Goetz.
> -----Original Message-----
> From: Phil Race [mailto:philip.race at oracle.com]
> Sent: Freitag, 1. Juli 2016 19:35
> To: Lindenmaier, Goetz <goetz.lindenmaier at sap.com>; awt-
> dev at openjdk.java.net
> Subject: Re: <AWT Dev> RFR(XS): 8160721: Avoid deoptimizations in
> Font.equals.
>
> 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 2d-dev
mailing list