<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Tony,<br>
<br>
On 6/7/2011 11:40 PM, Tony Printezis wrote:
<blockquote cite="mid:4DEE6984.9020904@oracle.com" type="cite">Hi all,
<br>
<br>
Could I have a couple of reviews for this change?
<br>
<br>
<a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~tonyp/7032531/webrev.0/">http://cr.openjdk.java.net/~tonyp/7032531/webrev.0/</a>
<br>
<br>
This enhances the G1 +PrintGCDetails output to include how much space
there is in the eden and survivor regions before / after a GC. Here's
an example of the output:
<br>
<br>
[Eden: 18M->0B Survivors: 1024K->2048K Heap:
27M(105M)->12M(125M)]
<br>
<br>
It shows that the eden had 18MB before the GC and it's empty after it
(as expected!), the survivors were 1MB before the GC and grew to 2MB
after the GC, the used space in the heap fell from 27MB to 12MB, and
finally the heap size grew from 105MB to 125MB.
<br>
<br>
</blockquote>
The heap size ( grew from 105K to 125K) here means the total size of
all the regions in G1 heap (including young regions) ?<br>
<br>
Thanks,<br>
Poonam<br>
<br>
<blockquote cite="mid:4DEE6984.9020904@oracle.com" type="cite">Note
that, currently, the eden / survivor sizes that are reported are not
very accurate. They are currently calculated as region_num *
region_size. It'd be better if they were calculated as the used byte
total in the eden and survivor regions. But this would require a fair
amount of extra changes to do (I'd rather avoid iterating over them to
calculate that). We'll do that change when we revamp the region lists
that keep track of the eden / survivor regions (which is currently
work-in-progress).
<br>
<br>
Tony
<br>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
Best regards, Poonam
<p><img src="cid:part1.03050007.01000903@oracle.com"
alt="Sun, an Oracle company" border="0" height="70" width="110"><br>
Sun, an Oracle Company<br>
<font color="#666666" face="Verdana, Arial, Helvetica, sans-serif"
size="2">Poonam Bajaj | Staff Engineer<br>
Phone: <a href="tel:+66937451">+66937451</a> | Mobile: <a
href="tel:+9844511366">+9844511366</a> <br>
JVM Sustaining Engineering<br>
| Bangalore </font>
<br>
<a href="http://www.oracle.com/commitment" target="_blank"><img
src="cid:part2.02090608.07030101@oracle.com" alt="Green Oracle"
align="absmiddle" border="0" height="28" width="44"></a>
<font color="#4b7d42" face="Verdana, Arial, Helvetica, sans-serif"
size="1">Oracle is committed to developing practices and products that
help protect the environment</font>
<!-- This signature was generated by the MyDesktop Oracle Business Signature utility version 3.8.5 --></p>
</div>
</body>
</html>