Hi Swamy,<br><br><div class="gmail_quote">On Wed, Jan 14, 2009 at 3:53 PM, Swamy Venkataramanappa <span dir="ltr"><<a href="mailto:swamyv@central.sun.com">swamyv@central.sun.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
One of our GC expert says:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
These could be deadwood left behind in the heap because<br>
a compacting collection did not do a complete compaction<br>
of the heap (but left behind a "dense" prefix uncompacted<br>
and therefore with holes which were converted to look like<br>
in arrays). Those would appear as int arrays. Are these only<br>
int arrays or something else? Also, with the help of jhat<br>
if you can find the addresses of these objects are they<br>
kind of towards the early (lower address) part of the<br>
old generation? The deadwood is left behind because<br>
it may be too expensive to compact out that deadwood<br>
for very little gain (in terms of space freed).</blockquote></blockquote><div><br>They are all (primitive) int arrays with fairly random sizes (on the magnitude of 10K or 100K). I'm not sure if they are at lower address though (I only have the heap dump output at this point.)<br>
<br>But it sounds like that's what's happening. I assume those int arrays are not real objects and when GC works harder they will vanish. Correct?<br><br>Thanks,<br>Hiroshi<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
</blockquote>
I hope this helps.<br>
<br>
Thanks,<br><font color="#888888">
Swamy</font><div><div></div><div class="Wj3C7c"><br>
<br>
<br>
Hiroshi Yamauchi wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I take a heap dump using the dumpHeap method described in<br>
<br>
<a href="http://java.sun.com/javase/6/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticMXBean.html" target="_blank">http://java.sun.com/javase/6/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticMXBean.html</a><br>
<br>
with the live parameter true and I see objects (int arrays) which have<br>
nothing in the "References to this object" section in the jhat output.<br>
This is on an openjdk6 b11 build.<br>
<br>
What could it mean?<br>
<br>
Thanks,<br>
Hiroshi<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br>