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

        Issue Links

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/2cd9adeec880
          User: jwilhelm
          Date: 2016-07-12 20:17:33 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/2cd9adeec880 User: jwilhelm Date: 2016-07-12 20:17:33 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/2cd9adeec880
          User: lana
          Date: 2016-08-10 20:19:27 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/2cd9adeec880 User: lana Date: 2016-08-10 20:19:27 +0000

            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: