ZGC: Differentiate Young Collection type strings in statistics

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: 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

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

              Created:
              Updated: