Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6744907
Votes 0
Synopsis Java WebStart should not create any Swing/AWT objects on warm start
Category javawebstart:general
Reported Against
Release Fixed 6u12(b01)
State 11-Closed, Unverified, request for enhancement
Priority: 2-High
Related Bugs 6763369 , 6769298 , 6775919
Submit Date 04-SEP-2008
Description
Attempt to start javaws application that has been started recently and was not updated does not 
require any download  customer  dialogs, security dialogs, etc. 
If nothing is shown on the screen then there is no reason why javaws should trigger initialization of 
Swing/AWT in the javaws secure thread.

Initial experiments using slightly modified refworkload tests show 10+% decrease (30 runs, significant) 
of warm startup time if initialization of UI components does not happen (WinXP).

In more simplistic tests on Vista laptop similar of higher savings are observed too.
Posted Date : 2008-09-04 19:14:03.0

Using modified refworkload startup2 test avoiding creation of Swing components 
till they are needed helps to reduce startup time of minimal webstart based swing application by about 13% (from 1662 to 1433 on test WinXP SP2 machine).
Posted Date : 2008-09-17 16:57:20.0
Work Around
N/A
Evaluation
Postpone creation of Swing objects until they are actually needed.
Posted Date : 2008-10-16 19:04:59.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang