Human Readable gc timestamp

Is there a way to get real time timestamps in the gc log as opposed to elapsed time. I've seen this kind of question here before, but haven't seen a definitive answer.

I've seen this arg referenced in a few places, but no one says what it does:

-XX:GCTaskTimeStampEntries=<value>uintx

Not sure how it affects the timestamp.

[357 byte] By [enoughbugsa] at [2007-10-3 2:25:04]
# 1

GCTaskTimeStampEntries is defining "Number of time stamp entries per gc worker thread". So it is not a droid you are looking for...

I don't know a way to change the format of gc log timestamp and I think there is no way to do it. With newest JDK gc log entries should be relative to startup of jvm (not to first collection), so it should be possible to process gc log file with some simple tools to produce real timestamps.

abiesa at 2007-7-14 19:24:05 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2

> I don't know a way to change the format of gc log

> timestamp and I think there is no way to do it. With

> newest JDK gc log entries should be relative to

> startup of jvm (not to first collection), so it

> should be possible to process gc log file with some

> simple tools to produce real timestamps.

As our friend here said, right now there's no way to include a "real" time stamp to the GC log; we just provide elapsed time from the launch of the JVM. However, quite few users have asked for "real" time stamps, so we will consider it for any future GC log revamp that we might do.

Regards,

Tony (HS GC Group)

TonyPrintezisa at 2007-7-14 19:24:05 > top of Java-index,Java HotSpot Virtual Machine,Specifications...