Time Stamps
Peter B. Kessler
Peter.Kessler at Sun.COM
Tue Jun 12 14:01:17 PDT 2007
Cunningham, Ryan wrote:
> In the output of the java process's activity there are timestamps, "6.074: [GC {Heap before gc invocations=0:", and the 6.074 is time after start of process and I want to change that to human time. I am not really sure where to go from here. I have searched the files and have a vague idea of where it comes from.
>
> Ryan P Cunningham
> CBOE
> cunningh at cboe.com
If you can wait for build 14, you'll find that I've added
-XX:+PrintGCDateStamps
as a fix for
6517301: There should be a -XX:+PrintGCDateStamps
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6517301
which will put an ISO-8601 date and time on the GC output. E.g.,
2007-06-09T12:57:35.093-0700: [GC [PSYoungGen: 4064K->1552K(4928K)] 38770K->36258K(63232K), 0.0590532 secs] [Times: user=0.08 sys=0.00, real=0.06 secs]
Is that what you wanted to do? If so, I apologize for preempting
your doing it, but we already had a bunch of customers that wanted
that feature. (Some from large financial traders in Chicago. :-)
You wouldn't have liked it anyway, since the obvious solution of
using strftime(3C) doesn't work on Windows.
... peter
More information about the hotspot-dev
mailing list