JDK-8184286 : print_tracing_info() does not use Unified Logging for output
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 10
  • Priority: P3
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2017-07-12
  • Updated: 2018-01-26
  • Resolved: 2018-01-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10Resolved
Related Reports
CSR :  
Sub Tasks
JDK-8189668 :  
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.