-
Enhancement
-
Resolution: Fixed
-
P2
-
6u10
-
b09
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2156508 | 7 | Jim Graham | P3 | Closed | Cannot Reproduce |
SurfaceData initializes number of pipes and loops but some of them might be not used at all.
This can be done more lazily.
In particular, Ductus library is initialized (triggered by initialization of AA loops) but
many simple applets are not using AA loops.
Moreover, SwingSet on windows only needs loads Ductus library for 2 tabs
(JColorChooser demo (animation of thick 2D shape) and progressbar demo (LoopPipe.getStrokeSpans()
needs stroker from Ductus)).
I.e. for many java applications initialization of Ductus at startup seems to be unneeded.
This can be done more lazily.
In particular, Ductus library is initialized (triggered by initialization of AA loops) but
many simple applets are not using AA loops.
Moreover, SwingSet on windows only needs loads Ductus library for 2 tabs
(JColorChooser demo (animation of thick 2D shape) and progressbar demo (LoopPipe.getStrokeSpans()
needs stroker from Ductus)).
I.e. for many java applications initialization of Ductus at startup seems to be unneeded.
- backported by
-
JDK-2156508 SurfaceData should not initialize Ductus until needed
-
- Closed
-