src/java.desktop/share/classes/sun/font/StrikeCache.java

Print this page
rev 12972 : 8140606: Update library code to use internal Unsafe
Reviewed-by: duke

*** 35,45 **** import sun.java2d.Disposer; import sun.java2d.pipe.BufferedContext; import sun.java2d.pipe.RenderQueue; import sun.java2d.pipe.hw.AccelGraphicsConfig; ! import sun.misc.Unsafe; /** A FontStrike is the keeper of scaled glyph image data which is expensive to compute so needs to be cached. --- 35,45 ---- import sun.java2d.Disposer; import sun.java2d.pipe.BufferedContext; import sun.java2d.pipe.RenderQueue; import sun.java2d.pipe.hw.AccelGraphicsConfig; ! import jdk.internal.misc.Unsafe; /** A FontStrike is the keeper of scaled glyph image data which is expensive to compute so needs to be cached.