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

print_tracing_info() does not use Unified Logging for output

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Delivered
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: