JDK-8242524 : Use different default CDS archives depending on UseCompressOops
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-04-11
  • Updated: 2020-05-27
  • Resolved: 2020-05-14
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 15
15 b24Fixed
Related Reports
Relates :  
Description
Since JDK-8232069, CDS can support -XX:-UseCompressedOops. However, there's only a single default CDS archive inside a JDK image, so you must choose whether to enable UseCompressedOops for the default archive when creating a JDK image.

We should make it possible to use two default CDS archives:

$JAVA_HOME/lib/server/classes.jsa
$JAVA_HOME/lib/server/classes_nocoops.jsa

If -XX:-UseCompressedOops is specified, we load from the _nocoops.jsa file instead.

Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/e25b21095e86 User: minqi Date: 2020-05-14 21:26:00 +0000
14-05-2020