[OpenJDK 2D-Dev] [7u6] request for review: 7120895: FontConfiguration should not use thread contextClassLoader
Andrew Brygin
andrew.brygin at oracle.com
Thu May 31 08:39:05 UTC 2012
Hello,
could you please review a backport of the fix for 7120895 to 7u6?
The problem there seems to be caused by an attempt to load
sun.awt.HKSCS class using thread context classloader, that
leads to loading lazy jars in case of webstart application,
and has noticeable performance impact.
The problem can be resolved by using system class loader instead
of thread context class loader (FontConfiguration.
getFontCharsetEncoder, lines 949 - 950).
Note that we use this branch of code just to resolve "sun.awt.*"
charset names, so we can limit the scope to search by system
classes only.
Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7120895
jdk8 changeset: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/d988ed9d40bc
Webrev: http://cr.openjdk.java.net/~bae/7120895/7u6/webrev.00/
Thanks,
Andrew
More information about the 2d-dev
mailing list