JEP 271: Unified GC Logging - First pre-review

Bengt Rutisson bengt.rutisson at oracle.com
Wed Oct 28 08:09:33 UTC 2015



On 2015-10-27 15:42, Kirk Pepperdine wrote:
> Hi Bengt,
>
>> The start and end times on the end line were intentionally made seconds since this is what the decoration for the logging is using. That way it is easier to correlate the log decoration timing with the GC timing.
> As I mentioned before, I’m very concerned about relying on the timing decorations coming from UL. I’d much prefer that the timings taken from the event were included in the body of the message.

Right. Just to be clear. I am now printing the start and end times as 
part of the log message and am no longer relying on the decorations.

For example:

[5.091s][info   ][gc] GC#11 GC (Allocation Failure) DefNew end 
91M->59M(123M) (5.061s, 5.090s) 29.406ms


Thanks,
Bengt
>
> Kind regards,
> Kirk
>




More information about the hotspot-gc-dev mailing list