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

Explicitly setting := vs = in the -XX:+PrintFlagsFinal output

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b131

      Description

      The following convention seems to be broken:

      If you explicitly specify a command line flag, you get ":=" instead of "=" in the -XX:+PrintFlagsFinal output:

      For example,
          uintx MarkStackSize := 4194304 {product}

      The ":=" is also set if the value has been ergonomically decided. From PrintFlagsFinal there is no way to find out whether the flag has been set on command line or via ergonomics.

      Some GC argument processing code may not adhere to this, i.e. may set option values without influencing the output. There are a few bugs already filed for that:

      JDK-8024137
      JDK-8012591
      JDK-8037283

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jwilhelm Jesper Wilhelmsson
                Reporter:
                shadowbug Shadow Bug
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: