JDK-4185141 : PERFORMANCE: MetalBumps creates Frame and Canvas
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.6
  • CPU: sparc
  • Submitted: 1998-10-28
  • Updated: 2013-11-01
  • Resolved: 2001-06-25
Related Reports
Duplicate :  
Description
MetalBumps creates a Frame and a Canvas in order to create the Image which will be blitted.  This could be reworked to be done with image producer/consumer.  This would likely improve startup time (as an extra Frame wouldn't have to be created).

Beyond the performance considerations this Frame has caused a world of strange behavior over the past few months including deadlocks with other parts of the JDK.  It is time for it to die.

steve.wilson@eng

Comments
EVALUATION See the description steve.wilson@eng 1998-10-28 This bug is SOOOO old. The right thing to do with this now is to use VolitileImage. Amy and I talked about this today. I'm going to reassign the bug to her. steve.wilson@Eng 2000-09-06 In talking with Chet he recommended to use Component.createImage, otherwise you can end up with an Image with the wrong GraphicsConfiguration. I've converted this class over to BufferedImage as a result of 4417287, refer to it for the details. scott.violet@eng 2001-06-25
25-06-2001