<AWT Dev> [9] Review request for 8035069 [macosx] Loading resolution variants by demand
Alexander Scherbatiy
alexandr.scherbatiy at oracle.com
Wed Mar 12 15:03:08 UTC 2014
Hello,
Could you review the fix:
bug: https://bugs.openjdk.java.net/browse/JDK-8035069
webrev: http://cr.openjdk.java.net/~alexsch/8035069/webrev.00
Image resolution variants are generated by request and cached in the
ImageCache.
- ImageCache is refactored to store different type of images and
moved to sun.awt.image package.
- An object is used as the cache key instead of hash code to prevent
inetsection of hash codes for
different type of images.
- The base image for MultiResolutionBufferedImage is not cached and
used for the hash code calculation
in the getResolutionVariant method.
Thanks,
Alexandr.
More information about the awt-dev
mailing list