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

Unify the reporting strings for the GC debug level logging in G1

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b110

      Description

      Phase names in the G1 remark phase are inconsistent.

      1) Some phases prefix with GC, while others don't
      2) Some phases use lower-case and hyphens, while others use upper-case and space

      Some examples:

      -XX:+PrintGCDetails
       #3: [GC remark #3: [Finalize Marking, 0.0100239 secs] #3: [GC ref-proc, 0.0006259 secs] #3: [Unloading, 0.0371172 secs] #3: [GC aggregate-data, 0.0024219 secs], 0.0503393 secs]

      -XX:+PrintGCDetails -XX:-PrintGCID
       [GC remark [Finalize Marking, 0.0066722 secs] [GC ref-proc, 0.0004631 secs] [Unloading, 0.0262673 secs] [GC aggregate-data, 0.0021504 secs], 0.0356763 secs]

      -XX:+PrintGCDetails -XX:-PrintGCID -XX:+UnlockExperimentalVMOptions -XX:G1LogLevel=finest
       [GC remark [Finalize Marking, 0.0166332 secs] [GC ref-proc, 0.0011582 secs] [Unloading [System Dictionary Unloading, 0.0005951 secs] [Parallel Unloading, 0.0342829 secs], 0.0349560 secs] [GC aggregate-data, 0.0025770 secs], 0.0555206 secs]

        Attachments

          Activity

            People

            • Assignee:
              brutisso Bengt Rutisson (Inactive)
              Reporter:
              stefank Stefan Karlsson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: