JDK-8014090 : Bug 7176220 uses PrintGCDateStamp where it should be PrintGCTimeStamp
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 6-pool
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-05-07
  • Updated: 2014-03-14
  • Resolved: 2013-05-15
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 6
6u60 b01Fixed
Related Reports
Relates :  
Description
In src/share/vm/gc_implementation/shared/gcTraceTime.cpp:
+ gclog_or_tty->date_stamp(PrintGCDateStamps);
+ gclog_or_tty->stamp(PrintGCDateStamps); 

The second added line should be PrintGCTimeStamp

Example:
% ./jdk6u-dev_hotspot-build/bin/java -Xmx2m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -verbose:gc -XX:+PrintGCDateStamps HumongousAlloc
2013-05-07T16:15:25.187+0200: 0.177: [GC 997K->294K(6464K), 0.0051910 secs]

Notice timestamps are printed as well