<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
On 8/3/2011 11:18 AM, Darji, Kinnari wrote:
<blockquote
cite="mid:21ED8E3420CDB647B88C7F80A7D64DAC0691E04F84@exnjmb89.nam.nsroot.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thanks
Ramki<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">So
If I look at logs starting
[GC and real times, that should be almost application STW
time. Am I correct?</span></p>
</div>
</blockquote>
<br>
yes. Except that the real time in that display has a resolution of
10 ms only.<br>
(Thus the 9.2 ms looked like 0.01 s below, i think.)<br>
<br>
But yes, that's the STW time.<br>
<br>
One caveat though -- this only lists STW ops attributed to GC.<br>
More generally, you would want to use +PrintSafepointStatistics to<br>
see all STW operations (and details thereof), including of course
the<br>
GC ops (which are usually the most common type of STW op, but by<br>
no means the only type).<br>
<br>
-- ramki<br>
<br>
<blockquote
cite="mid:21ED8E3420CDB647B88C7F80A7D64DAC0691E04F84@exnjmb89.nam.nsroot.net"
type="cite">
<div class="Section1">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thank
you<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Kinnari<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif"; color:
windowtext;">From:</span></b><span style="font-size:
10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;"> Ramki Ramakrishna
[<a class="moz-txt-link-freetext" href="mailto:y.s.ramakrishna@oracle.com">mailto:y.s.ramakrishna@oracle.com</a>] <br>
<b>Sent:</b> Wednesday, August 03, 2011 2:08 PM<br>
<b>To:</b> Darji, Kinnari [ICG-IT]<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:hotspot-gc-use@openjdk.java.net">hotspot-gc-use@openjdk.java.net</a><br>
<b>Subject:</b> Re: understanding GC logs<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><br>
<br>
On 8/3/2011 10:45 AM, Darji, Kinnari wrote: <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Hello GC team,<o:p></o:p></p>
<p class="MsoNormal">What does this all different time mean? Can
someone please
clarify? <o:p></o:p></p>
<p class="MsoNormal">What is the time application when
application stops?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">[GC 9768.668: [ParNew<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family:
"Times New Roman","serif";">
^^^^^^ JVM timestamp (seconds since start of JVM) at start
of GC operation)<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"> 3746 Desired survivor size 10878976
bytes, new
threshold 4 (max 4)<o:p></o:p></p>
<p class="MsoNormal"> 3747 - age
1: 594288 bytes, 594288 total<o:p></o:p></p>
<p class="MsoNormal"> 3748 - age 2:
2369912 bytes, 2964200 total<o:p></o:p></p>
<p class="MsoNormal"> 3749 - age 3:
2877584 bytes, 5841784 total<o:p></o:p></p>
<p class="MsoNormal"> 3750 - age 4:
3075264 bytes, 8917048 total<o:p></o:p></p>
<p class="MsoNormal"> 3751 : 182066K->12384K(191744K),
0.0089120
secs] 2755986K->2586303K(10710272K), 0.0092180 secs]<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family:
"Times New Roman","serif";">
^^^^^^^^
^^^^^^^<br>
Duration of Scavenge
Duration of whole GC
operation<br>
(includes
scavenge)<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal">[Times: user=0.09 sys=0.00, real=0.01 secs]<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family:
"Times New Roman","serif";">
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Process virtual user and
system times, and
real (elapsed) time during GC operation.<br>
<br>
The time for which the application threads were stopped is
about 9.2 ms.<br>
<br>
-- ramki<o:p></o:p></span></p>
</div>
</blockquote>
</body>
</html>