hotspot/src/share/vm/runtime/timer.cpp
changeset 35061 be6025ebffea
parent 33160 c59f1676d27e
child 36178 9739f8c767da
equal deleted inserted replaced
35060:382d0689141c 35061:be6025ebffea
   118   _active   = doit;
   118   _active   = doit;
   119   _verbose  = true;
   119   _verbose  = true;
   120 
   120 
   121   if (_active) {
   121   if (_active) {
   122     _accum = NULL;
   122     _accum = NULL;
   123     tty->stamp(PrintGCTimeStamps);
       
   124     tty->print("[%s", title);
   123     tty->print("[%s", title);
   125     tty->flush();
   124     tty->flush();
   126     _t.start();
   125     _t.start();
   127   }
   126   }
   128 }
   127 }
   133                      bool verbose) {
   132                      bool verbose) {
   134   _active = doit;
   133   _active = doit;
   135   _verbose = verbose;
   134   _verbose = verbose;
   136   if (_active) {
   135   if (_active) {
   137     if (_verbose) {
   136     if (_verbose) {
   138       tty->stamp(PrintGCTimeStamps);
       
   139       tty->print("[%s", title);
   137       tty->print("[%s", title);
   140       tty->flush();
   138       tty->flush();
   141     }
   139     }
   142     _accum = accumulator;
   140     _accum = accumulator;
   143     _t.start();
   141     _t.start();