United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6740231 High CPU consumption by gray box painter during loading of applets
JDK-6740231 : High CPU consumption by gray box painter during loading of applets

Details
Type:
Bug
Submit Date:
2008-08-22
Status:
Closed
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2008-09-24
Component:
deploy
OS:
generic
Sub-Component:
plugin
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b32)

Related Reports
Relates:

Sub Tasks

Description
It has been observed that while the gray box painter (orange "S" logo) is being displayed, there is extremely high CPU consumption. This appears to be occurring due to a previous fix that went into 6u2; see Comments for details. This is severely impacting the startup time for JavaFX applets.
This shows up with the first launch of the basic Java / Swing version of BubbleMark from http://www.bubblemark.com/ .

                                    

Comments
EVALUATION

The high CPU consumption in the orange "S" logo animation was introduced in 6u10 with a typo in the fix for 6688396.

The problem of long startup time appears to be orthogonal to this issue, however.
                                     
2008-08-29
EVALUATION

Fixed typo in fix for 6688396 causing excessive CPU consumption during
painting of "S" logo animation. Improved performance measurement
around call to applet.init().
                                     
2008-08-31
SUGGESTED FIX

webrev: http://sa.sfbay.sun.com/projects/deployment_data/6u11/6740231.0
testcase: http://j2se.east.sun.com/deployment/www/tests/1.6.0_11/6740231/
                                     
2008-09-08



Hardware and Software, Engineered to Work Together