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

runtime/appcds/sharedStrings/IncompatibleOptions.java fails: Option -XX:+UseZGC not supported

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 12
    • 11
    • hotspot
    • None
    • x86_64
    • linux

      It's kind of comical that a test named IncompatibleOptions.java fails with incompatible options :-)

      The problem is that OpenJDK does not enable ZGC by default:

      checking user specified JVM feature list...
      checking if zgc should be built... no

      but the test assumes it's available on linux-x64.

      I think Oracle's internal builds are fine because of this in make/conf/jib-profiles.js:

          // Enable ZGC in linux-x64-open builds
          [ "linux-x64-open" ].forEach(function (name) {
              var configureArgs = { configure_args: [ "--with-jvm-features=zgc" ] };

            ccheung Calvin Cheung
            twisti Christian Thalinger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: