Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8149166

needs better handling of the -Xshare vm option on the Zero platform

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • 9
    • hotspot
    • x86_64
    • linux_2.6

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: