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/ Best regards, Goetz.