RFR: 7164841: Improvements to the GC log file rotation

STIRLING, SCOTT ss4766 at att.com
Wed Aug 28 15:30:41 UTC 2013


Disk overruns can be limited with dedicated log partitions.

Logs can be pre-parsed with command line text tools into separate runs, which everyone already has to do for stack traces in system out/err logs.

IBM logs work great in PMAT, which also keeps pace with ever-evolving parsing nightmare of detailed Hotspot GC logging :-)

Scott

On Aug 28, 2013, at 11:13 AM, "Kirk Pepperdine" <kirk at kodewerk.com> wrote:

> 
> 
>> Append vs clobber: with or without rotation, -Xloggc always clobbers the last log. That's why people want a time stamp or pid in the gc file name, IMHO.
> 
> My client just clobbered his log files yet... I'd still *not* want the time stamp because this can potentially accidentally fill production disks. Better that my client over wrote the logs than filled his production disk because he didn't realize the behaviour. And, many don't realize the behaviour, they just follow the admin manual.
> 
>> 
>> Alternatively, give an option to append when -Xloggc is enabled, vs default overwrite.
> 
> Allowing an append will break all current analysis tooling.
> 
> Regards,
> Kirk
> 
> 



More information about the hotspot-gc-dev mailing list