JDK-6798873 : Reduce the number of classes loaded and class dependencies
  • Type: Enhancement
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-01-28
  • Updated: 2011-05-18
  • Resolved: 2011-05-18
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 betaFixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
This CR serves as the umbrella CR for the effort in reducing the number of classes loaded and breaking class dependencies.

The number of classes loaded on Windows:
  command-line helloworld         316 (6u12)   332 (JDK 7 b46)
  GUI helloworld with a JFramer  1061 (6u12)  1076 (JDK 7 b46)
  GUI helloworld with a Frame     828 (6u12)   855 (JDK 7 b46)

The number of classes loaded on Solaris sparc:
  command-line helloworld         312 (6u12)   331 (JDK 7 b46)
  GUI helloworld with a JFramer  1139 (6u12)  1158 (JDK 7 b46)
  GUI helloworld with a Frame    1020 (6u12)  1047 (JDK 7 b46)

Comments
EVALUATION Fixes have been integrated in jdk 7 and we close this umbrella CR. See the related CRs for the fixes integrated in jdk7.
23-07-2010

EVALUATION This CR serves as an umbrella CR to capture the fixes for breaking the class dependency.
27-03-2009

EVALUATION Use the lazy initialization idiom and fix this in JDK7
28-01-2009