print_tracing_info() does not use Unified Logging for output

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 10
    • Affects Version/s: 10
    • Component/s: hotspot
    • gc
    • b31

      The two options TraceYoungGenTime and TraceOldGenTime were not converted to use Unified Logging. Looking at old documentation they were planned to be changed to use the tag-set gc+summary, but it seems to have been forgotten.

      Both GenCollectedHeap::print_tracing_info() and ParallelScavengeHeap::print_tracing_info() uses the flags and if enabled print information on tty.

      The tag "summary" is not used anywhere else and looking at print_tracing_info for G1 it uses "gc+remset+exit" and "gc+marking" for the information printed so there is no real rule to follow. I suggest using "gc+heap+exit" for this output.

            Assignee:
            Stefan Johansson
            Reporter:
            Stefan Johansson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: