- 
    
Bug
 - 
    Resolution: Not an Issue
 - 
    
  P4                     
     - 
    9
 
- 
        x86_64
 - 
        linux_2.6
 
                    bash-4.1$ ./bin/java  -Xshare:dump  -versionError occurred during initialization of VM
Cannot dump shared archive when UseCompressedOops or UseCompressedClassPointers is off.
bash-4.1$ ./bin/java -XX:+UseCompressedOops -XX:+UseCompressedClassPointers -Xshare:dump -XX:+PrintFlagsFinal -Xmx256m -version
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/metaspace.cpp:3177
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/export/ccheung/jdk9-hs-rt/hotspot/src/share/vm/memory/metaspace.cpp:3177), pid=30140, tid=30141
# assert(UseCompressedOops && UseCompressedClassPointers) failed: UseCompressedOops and UseCompressedClassPointers must be set
Cannot dump shared archive when UseCompressedOops or UseCompressedClassPointers is off.
bash-4.1$ ./bin/java -XX:+UseCompressedOops -XX:+UseCompressedClassPointers -Xshare:dump -XX:+PrintFlagsFinal -Xmx256m -version
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/metaspace.cpp:3177
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/export/ccheung/jdk9-hs-rt/hotspot/src/share/vm/memory/metaspace.cpp:3177), pid=30140, tid=30141
# assert(UseCompressedOops && UseCompressedClassPointers) failed: UseCompressedOops and UseCompressedClassPointers must be set