[OpenJDK 2D-Dev] 7u25 kills 'blit' performance for any custom ColorModel class

Phil Race philip.race at oracle.com
Tue Jul 2 17:46:49 UTC 2013


This is an unfortunate consequence of a fix a potential security issue.
The actual bug ID for this is 8019590. We'll take a look to see what can 
be done.

-phil.

On 7/2/2013 10:13 AM, Keith Kriewall wrote:
>
> Hi 2d Devs,
>
> The addition of BufferedImage.isStandard() has absolutely killed 
> drawing performance for our application. BufferedImage types that used 
> to be set to optimized types (e.g. TYPE_INT_BGR) are now set to 
> TYPE_CUSTOM, due solely to the classloader used to load the class. It 
> appears that unless we load our subclasses of ColorModel via the 
> bootclassloader, we’re stuck. I’ve posted 9004714 to Oracle’s bug 
> database with a test app.
>
> Can anyone on this list comment on this change in 7u25, provide a 
> workaround, and/or provide a fix to bug 9004714 for future 7u releases?
>
> Thanks,
>
> -Keith
>
> *Keith Kriewall*
> Software Developer
> 705 5^th Ave S, Suite 1100
> Seattle, WA 98104 USA
> 206-217-7892
> keith.kriewall at attachmate.com <mailto:keith.kriewall at attachmate.com>
> Description: line
> Description: Attachmate <http://www.attachmate.com/>
>




More information about the 2d-dev mailing list