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

Update CDS to work with modular image

XMLWordPrintable

      The Project Jigsaw milestone that is the modular image is currently being staged in the jigsaw/m2 forest.

      The original plan for CDS was to disable it in this milestone. This issue is submitted to track doing this. The alternative is of course to get CDS working with the module image.

      Until this is done, then running -Xshare:dump will hit a ShouldNotReachHere like this example on Solaris

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (classLoader.cpp:388), pid=21186, tid=2
      # Error: ShouldNotReachHere()
      #
      # JRE version: (9.0) (build )
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-internal-201409301221.USER.jigsaw-m2-b00 interpreted mode solaris-sparc compressed oops)
      # Core dump written. Default location: /DIR/testproduct/solaris_sparcv9_5.11-product/core or core.21186
      #
      # An error report file with more information is saved as:
      # /DIR//testproduct/solaris_sparcv9_5.11-product/hs_err_pid21186.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      #

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: