United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7073032 : Should not warmup AWT if FX is requested

Details
Type:
Bug
Submit Date:
2011-07-30
Status:
Resolved
Updated Date:
2011-09-22
Project Name:
JDK
Resolved Date:
2011-08-17
Component:
deploy
OS:
generic
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7-client
Fixed Versions:
7u2 (b03)

Related Reports
Backport:

Sub Tasks

Description
Both javaws and browser JVM will pass -Dsun.awt.warmup=true to initiate initialization of D3D in a way AWT toolkit can pick it later.

That helps to save up to 100ms of startup time but in case of FX this warmup is almost useless (at this moment).

We should only request it for for AWT toolkit. If we know we gonna need FX toolkit we should not pass this property

                                    

Comments
EVALUATION

Fixed with changeset:
http://jfxsrc.us.oracle.com/javafx/client/7-client/deploy/deploy/rev/eb5441707d1c
                                     
2011-08-08



Hardware and Software, Engineered to Work Together