src/share/classes/sun/font/GlyphList.java

Print this page

        

*** 146,156 **** * there's no need to synchronise except for that one instance. * Fewer threads will then need to synchronise, perhaps helping * throughput on a MP system. If for some reason the reusable * GlyphList is checked out for a long time (or never returned?) then * we would end up always creating new ones. That situation should not ! * occur and if if did, it would just lead to some extra garbage being * created. */ private static GlyphList reusableGL = new GlyphList(); private static boolean inUse; --- 146,156 ---- * there's no need to synchronise except for that one instance. * Fewer threads will then need to synchronise, perhaps helping * throughput on a MP system. If for some reason the reusable * GlyphList is checked out for a long time (or never returned?) then * we would end up always creating new ones. That situation should not ! * occur and if it did, it would just lead to some extra garbage being * created. */ private static GlyphList reusableGL = new GlyphList(); private static boolean inUse;