JDK-2173305 : Nimbus initialization is too slow
  • Type: Backport
  • Backport of: JDK-6802944
  • Component: client-libs
  • Sub-Component: javax.swing
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2009-02-18
  • Updated: 2011-01-21
  • Resolved: 2009-09-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u14Fixed 7 b72Fixed
Comments
EVALUATION See main CR entry. Also, I came across comments from people complaining about increased memory usage in 6u14. This was due to many duplicate DerivedColor objects. E.g. a button painter allocates some 50 colors, and we create 10 instances for 10 states, so we get 500 colors where we only need 50. To address this, i've updated my fix slightly: now derived colors are cached and reused.
31-08-2009