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

ZGC: Command-line flags should be marked experimental

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 13
    • 11, 12, 13
    • hotspot
    • gc
    • b14

      ZGC (and the -XX:+UseZGC command-line flag) is marked experimental, which means that you always need to use -XX:+UnlockExperimentalVMOptions to unlock that option. However, some of ZGC's flags are incorrectly marked as product flags. This can be a bit confusing, since those flags (but not the -XX:+UseZGC flag) will show up when using -XX:PrintFlagsFinal, even though they are effectively experimental and has no use/meaning unless ZGC is enabled.

      We should not mark any ZGC flags as product flags, until the -XX:+UseZGC flag is made a product flag.

            pliden Per Liden (Inactive)
            pliden Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: