<!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">
Hi Kinnari -- hs14, which you are on, is rather old (current dev is
hs22; latest public is hs21).<br>
Is it possible that you could switch to a more recent JDK? If that's
not possible,<br>
send me an hs_err file and I can get a ticket opened for you via
the usual support<br>
channels. If the problem occurs with a recent hs21 or hs22, we can
certainly<br>
take a look here. In either case, I have modified the subject line
for relevance<br>
to the issue at hand, and also cross-posted to
<a class="moz-txt-link-abbreviated" href="mailto:hsotspot-runtime-dev@o.j.n">hsotspot-runtime-dev@o.j.n</a><br>
where PrintSafepointStatistics expertise resides.<br>
<br>
-- ramki<br>
<br>
On 8/3/2011 2:40 PM, Darji, Kinnari wrote:
<blockquote
cite="mid:21ED8E3420CDB647B88C7F80A7D64DAC0691EC78E3@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;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle19
{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);">Hi
Ramki,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Not
sure what’s the
problem. The process dies with following when I have </span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif";">+PrintSafepointStatistics</span><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>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">java
version
"1.6.0_16"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Java(TM)
SE Runtime Environment
(build 1.6.0_16-b01)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Java
HotSpot(TM) 64-Bit Server
VM (build 14.2-b01, mixed mode)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
vmop_name
[threads: total initially_running wait_to_block] [time: spin
block sync]
[vmop_time time_elapsed] page_trap_count<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">no
vm
operation
[
7
1
1]
[ 0 0
0] [ 0
0] 0<o:p></o:p></span></p>
<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);">Polling
page always armed<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
0 VM
operations coalesced during safepoint<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Maximum
sync time 0
ms<o:p></o:p></span></p>
<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>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Can
you please help?<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:36 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 11:18 AM, Darji, Kinnari wrote: <o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thanks
Ramki</span><o:p></o:p></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><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family:
"Times New Roman","serif";"><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>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thank
you</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Kinnari</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span><o:p></o:p></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; padding: 3pt
0in 0in; border-color: -moz-use-text-color;">
<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
moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:hotspot-gc-use@openjdk.java.net">hotspot-gc-use@openjdk.java.net</a><br>
<b>Subject:</b> Re: understanding GC logs</span><o:p></o:p></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>
<br>
</span><o:p></o:p></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>
<br>
</span><o:p></o:p></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</span><o:p></o:p></p>
</div>
</blockquote>
</body>
</html>