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

ZGC: Differentiate Young Collection type strings in statistics

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • gc

      The strings in ZPhaseGenerationYoung should be unique so that they are easily identifiable in the statistics print at the end of a GC log. Currently there are two elements with the string "Young Generation", making it difficult to know which is which.

      Example from a log file:
      [410.509s][info ][gc,stats ] Young Generation: Young Generation 0.000 / 0.000 562.738 / 974.334 562.738 / 974.334 562.738 / 974.334 ms
      [410.509s][info ][gc,stats ] Young Generation: Young Generation 0.000 / 0.000 651.942 / 1011.705 651.942 / 1011.705 651.942 / 1011.705 ms
      [410.509s][info ][gc,stats ] Young Generation: Young Generation (Collect Roots) 0.000 / 0.000 3.502 / 5.477 3.502 / 5.477 3.502 / 5.477 ms
      [410.509s][info ][gc,stats ] Young Generation: Young Generation (Promote All) 0.000 / 0.000 13.646 / 25.425 13.646 / 25.425 13.646 / 25.425 ms

            Unassigned Unassigned
            jsikstro Joel Sikström
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: