GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||
GeezerVison is showing openjdk.org — JEP 341: Default CDS Archives JEP 341: Default CDS Archives
SummaryEnhance the JDK build process to generate a class data-sharing (CDS) archive, using the default class list, on 64-bit platforms. Goals
Non-Goals
MotivationNumerous enhancements have been added to the base CDS feature since JDK 8u40. The startup time and memory sharing benefits provided by enabling CDS have increased significantly. Measurements done on Linux/x64 using JDK 11 early-access build 14 show a 32% startup time reduction running Currently, a JDK image includes a default class list, generated at build time, in the DescriptionModify the JDK build to run Users will benefit from the CDS feature automatically, since Users with more advanced requirements (e.g., using custom class lists that include application classes, different GC configurations, etc.) can still create a custom CDS archive as before. AlternativesBuild the default CDS archive but disable This approach would be safer. CDS has been enabled by default on Windows for many releases, since the default CDS archive was created by the JDK Windows installer, but that's not the case for other platforms. If we suddenly enable CDS without users making a conscious choice then existing applications could be affected if, e.g., they depend upon undocumented aspects of the JVM’s startup sequence. If The advantages of this approach are:
The problems with this approach are:
By contrast, with the approach proposed in this JEP many developers will test CDS implicitly when they build the JDK or use an early-access release, clearly resulting in more testing. TestingExisting automated testing with CDS enabled is sufficient. Groups Projects | ||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |