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

print_tracing_info() does not use Unified Logging for output

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Delivered
    • P3
    • 10
    • 10
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: