JDK-8145180 : Add back PrintGC, PrintGCDetails and -Xloggc
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-12-11
  • Updated: 2016-02-25
  • Resolved: 2016-01-28
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 9
9 b107Fixed
Related Reports
Relates :  
Relates :  
Description
The change for JDK-8145092 removed several flags, including PrintGC, PrintGCDetails and -Xloggc. These three flags should be added back as deprecated flags. They  should be mapped to the new logging configurations as follows:

Old: -XX:+PrintGC
New: -Xlog:gc

Old: -XX:+PrintGCDetails
New: -Xlog:gc*

Old: -Xloggc:<filename>
New: -Xlog:gc:<filename>