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

AppCDS custom loader support on Mac OS X

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b11
    • CPU:
      x86
    • OS:
      os_x

      Description

      AppCDS support for custom loaders needs to work on Mac OS X
      We need to add Mac X to our AppCDS test matrix.

      Since our focus is application developers and we want them
      to be able to move seamlessly between their development platforms
      of choice and our Cloud.

      As of JDK 10, OSX is not on the supported list. This was done due to lack of testing resources, but we should try to support OSX in JDK 11. See http://hg.openjdk.java.net/jdk/jdk10/file/7fc3d62481ba/test/lib/jdk/test/lib/Platform.java#l295

          /*
           * This should match the #if condition in ClassListParser::load_class_from_source().
           */
          public static boolean areCustomLoadersSupportedForCDS() {
              boolean isLinux = Platform.isLinux();
              boolean is64 = Platform.is64bit();
              boolean isSolaris = Platform.isSolaris();
              boolean isAix = Platform.isAix();

              return (is64 && (isLinux || isSolaris || isAix));
          }

        Attachments

          Activity

            People

            • Assignee:
              ccheung Calvin Cheung
              Reporter:
              acorn Karen Kinnear (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: