mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8004170: G1: Verbose GC output is not getting flushed to log file using JDK 8
Add flushes to G1CollectedHeap::log_gc_footer() and TraceCPUTime destructor. Reviewed-by: jwilhelm, azeemj, brutisso
This commit is contained in:
parent
6a66f24366
commit
4e43b88153
2 changed files with 6 additions and 3 deletions
|
@ -210,8 +210,9 @@ TraceCPUTime::~TraceCPUTime() {
|
|||
} else {
|
||||
_logfile->print("[Error in TraceCPUTime]");
|
||||
}
|
||||
if (_print_cr) {
|
||||
if (_print_cr) {
|
||||
_logfile->print_cr("");
|
||||
}
|
||||
_logfile->flush();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue