mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
7090324: gclog rotation via external tool
GC log rotation can be set via java command line, but customer sometime need to sync with OS level rotation setting. Reviewed-by: sla, minqi, ehelin
This commit is contained in:
parent
0b0fdb97ce
commit
57d7e49ab1
9 changed files with 159 additions and 22 deletions
|
@ -535,7 +535,7 @@ void SafepointSynchronize::do_cleanup_tasks() {
|
|||
|
||||
// rotate log files?
|
||||
if (UseGCLogFileRotation) {
|
||||
gclog_or_tty->rotate_log();
|
||||
gclog_or_tty->rotate_log(false);
|
||||
}
|
||||
|
||||
if (MemTracker::is_on()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue