Mercurial > hg > truffle
comparison src/share/vm/runtime/timer.cpp @ 7207:0f80645e9c26
8004170: G1: Verbose GC output is not getting flushed to log file using JDK 8
Summary: Add flushes to G1CollectedHeap::log_gc_footer() and TraceCPUTime destructor.
Reviewed-by: jwilhelm, azeemj, brutisso
author | johnc |
---|---|
date | Fri, 30 Nov 2012 11:46:17 -0800 |
parents | b9a9ed0f8eeb |
children | f2110083203d |
comparison
equal
deleted
inserted
replaced
7191:816b7e5bf2ed | 7207:0f80645e9c26 |
---|---|
208 _logfile->print("[Invalid result in TraceCPUTime]"); | 208 _logfile->print("[Invalid result in TraceCPUTime]"); |
209 } | 209 } |
210 } else { | 210 } else { |
211 _logfile->print("[Error in TraceCPUTime]"); | 211 _logfile->print("[Error in TraceCPUTime]"); |
212 } | 212 } |
213 if (_print_cr) { | 213 if (_print_cr) { |
214 _logfile->print_cr(""); | 214 _logfile->print_cr(""); |
215 } | 215 } |
216 } | 216 _logfile->flush(); |
217 } | 217 } |
218 } |