JEP 271: Unified GC Logging - First pre-review
Bengt Rutisson
bengt.rutisson at oracle.com
Wed Oct 28 19:15:56 UTC 2015
On 2015-10-28 16:52, Staffan Friberg wrote:
> Missed that one, and probably dating the JDKs I'm analyzing... ;)
>
> Any reason for it not being documented "-XX:+PrintGCID" [1]?
>
> http://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html
Not sure, but I think it wasn't considered an important option. Mostly
the flag exist because we didn't want to change the log format in an
update release. For JDK 9 the intent was to remove it and this is what I
plan to do with my GC log changes now.
Bengt
>
> //Staffan
>
> On 10/28/2015 01:12 AM, Bengt Rutisson wrote:
>>
>>
>> On 2015-10-27 16:51, Kirk Pepperdine wrote:
>>>> On Oct 27, 2015, at 8:23 AM, Staffan Friberg
>>>> <sfriberg at cloudera.com> wrote:
>>>>
>>>> Ah, think I got confused by the GC id being printed. I guess that
>>>> is new in JDK 9 EA?
>>> It is a recent addition to GC logs.
>>
>> The GC Id has been available since some JDK 8 update.
>>
>> It has always been on by default in JDK 9.
>>
>> So, it is not that recent. It was pushed one and a half years ago.
>>
>> Bengt
>>>
>>> Regards,
>>> Kirk
>>>
>>
>
More information about the hotspot-gc-dev
mailing list