<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
Hi Andreas,<br>
<br>
Looks good.<br>
<br>
One question regarding the change in GCTraceTime:<br>
<br>
<a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~aeriksso/7176220/webrev.00/src/share/vm/gc_implementation/shared/gcTraceTime.cpp.udiff.html">http://cr.openjdk.java.net/~aeriksso/7176220/webrev.00/src/share/vm/gc_implementation/shared/gcTraceTime.cpp.udiff.html</a><br>
<br>
It looks to me like we are missing a ": " in the new version.
Maybe it is ok to loose this character in the log format, but a
safer change may be:<br>
<br>
if (PrintGCTimeStamps || PrintGCDateStamps) {<br>
gclog_or_tty->date_stamp(PrintGCDateStamps);<br>
gclog_or_tty->stamp(PrintGCTimeStamps);<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
gclog_or_tty->print(": ");<br>
}<br>
<br>
This actually still changes the ": " behavior since since you
didn't use to get a ": " if you only had PrintGCDateStamps
enabled. But I think this is a more expected behavior.<br>
<br>
Thanks,<br>
Bengt<br>
<br>
On 5/13/13 6:01 PM, Andreas Eriksson wrote:<br>
</div>
<blockquote cite="mid:51910E66.9050000@oracle.com" type="cite">Hi
all,
<br>
<br>
Please take a look at my changes for bug 7176220.
<br>
The problem is that CMS sometimes misses datestamps for time trace
printouts.
<br>
<br>
The proposed fix is to move the datestamp print logic into the
class that handles time trace printouts, GCTraceTime.
<br>
This would make it consistent with timestamps, which are already
printed from there.
<br>
<br>
Bugs.sun:
<br>
<a class="moz-txt-link-freetext" href="http://bugs.sun.com/view_bug.do?bug_id=7176220">http://bugs.sun.com/view_bug.do?bug_id=7176220</a>
<br>
<br>
JIRA:
<br>
<a class="moz-txt-link-freetext" href="https://jbs.oracle.com/bugs/browse/JDK-7176220">https://jbs.oracle.com/bugs/browse/JDK-7176220</a>
<br>
<br>
Webrev:
<br>
<a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~aeriksso/7176220/webrev.00/">http://cr.openjdk.java.net/~aeriksso/7176220/webrev.00/</a>
<br>
<br>
Testing:
<br>
jprt, jtreg
<br>
<br>
Thanks,
<br>
Andreas
<br>
<br>
</blockquote>
<br>
</body>
</html>