--- a/hotspot/src/share/vm/runtime/timer.cpp Mon Sep 17 10:46:59 2012 -0400
+++ b/hotspot/src/share/vm/runtime/timer.cpp Mon Sep 17 10:33:13 2012 +0200
@@ -120,10 +120,7 @@
if (_active) {
_accum = NULL;
- if (PrintGCTimeStamps) {
- _logfile->stamp();
- _logfile->print(": ");
- }
+ _logfile->stamp(PrintGCTimeStamps);
_logfile->print("[%s", title);
_logfile->flush();
_t.start();
@@ -141,10 +138,7 @@
_logfile = (logfile != NULL) ? logfile : tty;
if (_active) {
if (_verbose) {
- if (PrintGCTimeStamps) {
- _logfile->stamp();
- _logfile->print(": ");
- }
+ _logfile->stamp(PrintGCTimeStamps);
_logfile->print("[%s", title);
_logfile->flush();
}