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.
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.
- relates to
-
JDK-8245070 32-bit builds are broken after JDK-8242524
- Resolved
-
JDK-8232069 Enable CDS even when UseCompressedClassPointers and/or UseCompressedOops are false
- Resolved