<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How does garbage collection work?</title>
	<atom:link href="http://chaoticjava.com/posts/how-does-garbage-collection-work/feed/" rel="self" type="application/rss+xml" />
	<link>http://chaoticjava.com/posts/how-does-garbage-collection-work/</link>
	<description>The internet, design patterns, frameworks and Java</description>
	<lastBuildDate>Fri, 05 Mar 2010 16:13:23 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ahsan Javed</title>
		<link>http://chaoticjava.com/posts/how-does-garbage-collection-work/comment-page-1/#comment-75057</link>
		<dc:creator>Ahsan Javed</dc:creator>
		<pubDate>Wed, 03 Mar 2010 10:15:23 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/how-does-garbage-collection-work/#comment-75057</guid>
		<description>Really nice article. However it misses other garbage collection algorithm. Are you planning to write them as well, Looking forward to it.

Thanks
Ahsan</description>
		<content:encoded><![CDATA[<p>Really nice article. However it misses other garbage collection algorithm. Are you planning to write them as well, Looking forward to it.</p>
<p>Thanks<br />
Ahsan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uberVU - social comments</title>
		<link>http://chaoticjava.com/posts/how-does-garbage-collection-work/comment-page-1/#comment-70079</link>
		<dc:creator>uberVU - social comments</dc:creator>
		<pubDate>Thu, 26 Nov 2009 00:37:45 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/how-does-garbage-collection-work/#comment-70079</guid>
		<description>&lt;strong&gt;Social comments and analytics for this post...&lt;/strong&gt;

This post was mentioned on Twitter by r3d: Java Garbage collection http://npm55.tk...</description>
		<content:encoded><![CDATA[<p><strong>Social comments and analytics for this post&#8230;</strong></p>
<p>This post was mentioned on Twitter by r3d: Java Garbage collection <a href="http://npm55.tk..." rel="nofollow">http://npm55.tk&#8230;</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aviad</title>
		<link>http://chaoticjava.com/posts/how-does-garbage-collection-work/comment-page-1/#comment-65752</link>
		<dc:creator>Aviad</dc:creator>
		<pubDate>Sat, 10 Oct 2009 19:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/how-does-garbage-collection-work/#comment-65752</guid>
		<description>@Muhammad: Whenever it feels like it. More specifically, it depends on which generation you would be talking about. The objects in eden and the to and from areas are constantly GC&#039;d, as only the living objects are moved around. The older generation is GC&#039;d according to some tuning specifications, but generally it would occur when the memory hits the upper limit of the currently allocated memory space, just before allocating more memory (if it didn&#039;t reach the maximum yet) or throwing an OOME. I&#039;m not sure about a periodic run of the GC though.</description>
		<content:encoded><![CDATA[<p>@Muhammad: Whenever it feels like it. More specifically, it depends on which generation you would be talking about. The objects in eden and the to and from areas are constantly GC&#8217;d, as only the living objects are moved around. The older generation is GC&#8217;d according to some tuning specifications, but generally it would occur when the memory hits the upper limit of the currently allocated memory space, just before allocating more memory (if it didn&#8217;t reach the maximum yet) or throwing an OOME. I&#8217;m not sure about a periodic run of the GC though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammad Ali</title>
		<link>http://chaoticjava.com/posts/how-does-garbage-collection-work/comment-page-1/#comment-65751</link>
		<dc:creator>Muhammad Ali</dc:creator>
		<pubDate>Sat, 10 Oct 2009 19:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/how-does-garbage-collection-work/#comment-65751</guid>
		<description>I want to know that when jvm calls the gc</description>
		<content:encoded><![CDATA[<p>I want to know that when jvm calls the gc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aviad</title>
		<link>http://chaoticjava.com/posts/how-does-garbage-collection-work/comment-page-1/#comment-58753</link>
		<dc:creator>Aviad</dc:creator>
		<pubDate>Fri, 24 Jul 2009 20:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/how-does-garbage-collection-work/#comment-58753</guid>
		<description>@Peter: You&#039;re correct. I just had to draw it somewhere, and thought that outside of the memory scope will show that this is a new object better. But obviously, the object is allocated inside Eden and not copied into it.

Also, thanks for the compliment. Glad to have a pleased reader! :)</description>
		<content:encoded><![CDATA[<p>@Peter: You&#8217;re correct. I just had to draw it somewhere, and thought that outside of the memory scope will show that this is a new object better. But obviously, the object is allocated inside Eden and not copied into it.</p>
<p>Also, thanks for the compliment. Glad to have a pleased reader! <img src='http://chaoticjava.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter B. Kessler</title>
		<link>http://chaoticjava.com/posts/how-does-garbage-collection-work/comment-page-1/#comment-58742</link>
		<dc:creator>Peter B. Kessler</dc:creator>
		<pubDate>Fri, 24 Jul 2009 16:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/how-does-garbage-collection-work/#comment-58742</guid>
		<description>One correction: In your picture of scavenging the Eden into the survivor spaces, you make it look as though the &quot;Just allocated&quot; object exists outside of the Eden, and &quot;will go to Eden&quot;.  In fact, new objects are allocate *in* the Eden, so we don&#039;t have to copy it to the Eden.

Nice write-up.  And some nice comments and patient replies to them.</description>
		<content:encoded><![CDATA[<p>One correction: In your picture of scavenging the Eden into the survivor spaces, you make it look as though the &#8220;Just allocated&#8221; object exists outside of the Eden, and &#8220;will go to Eden&#8221;.  In fact, new objects are allocate *in* the Eden, so we don&#8217;t have to copy it to the Eden.</p>
<p>Nice write-up.  And some nice comments and patient replies to them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aviad</title>
		<link>http://chaoticjava.com/posts/how-does-garbage-collection-work/comment-page-1/#comment-58730</link>
		<dc:creator>Aviad</dc:creator>
		<pubDate>Fri, 24 Jul 2009 11:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/how-does-garbage-collection-work/#comment-58730</guid>
		<description>@Kelvin: Of course not. You could have memory leaks if you retain objects in a &quot;living&quot; state for longer they are required, or if you use more memory than can be allocated by the JVM. It does, however, prevent a lot of &quot;memory leak&quot; situations found in non-GC languages such as not deleting objects for reasons such as mishandling passed references to objects. If you&#039;re trying to avoid memory leaks and GC-related problems in Java, please read the &lt;a href=&quot;http://chaoticjava.com/posts/gc-tips-and-memory-leaks/&quot; rel=&quot;nofollow&quot;&gt;GC Tips and Memory Leaks&lt;/a&gt; post.</description>
		<content:encoded><![CDATA[<p>@Kelvin: Of course not. You could have memory leaks if you retain objects in a &#8220;living&#8221; state for longer they are required, or if you use more memory than can be allocated by the JVM. It does, however, prevent a lot of &#8220;memory leak&#8221; situations found in non-GC languages such as not deleting objects for reasons such as mishandling passed references to objects. If you&#8217;re trying to avoid memory leaks and GC-related problems in Java, please read the <a href="http://chaoticjava.com/posts/gc-tips-and-memory-leaks/" rel="nofollow">GC Tips and Memory Leaks</a> post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelvin  Njenga</title>
		<link>http://chaoticjava.com/posts/how-does-garbage-collection-work/comment-page-1/#comment-58697</link>
		<dc:creator>Kelvin  Njenga</dc:creator>
		<pubDate>Thu, 23 Jul 2009 15:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/how-does-garbage-collection-work/#comment-58697</guid>
		<description>hi,
i would like to know whether garbage collection really guarantees that a program will not run out of memory.
kind regards.</description>
		<content:encoded><![CDATA[<p>hi,<br />
i would like to know whether garbage collection really guarantees that a program will not run out of memory.<br />
kind regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aviad</title>
		<link>http://chaoticjava.com/posts/how-does-garbage-collection-work/comment-page-1/#comment-57350</link>
		<dc:creator>Aviad</dc:creator>
		<pubDate>Tue, 07 Jul 2009 18:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/how-does-garbage-collection-work/#comment-57350</guid>
		<description>@Regalla: Which terms are you speaking of? I made sure as much as I can to use the technical terms (for example, Eden, From, To, etc are technical terms).

If there&#039;s something you&#039;re uncertain about, please ask!</description>
		<content:encoded><![CDATA[<p>@Regalla: Which terms are you speaking of? I made sure as much as I can to use the technical terms (for example, Eden, From, To, etc are technical terms).</p>
<p>If there&#8217;s something you&#8217;re uncertain about, please ask!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Regalla Naresh Reddy</title>
		<link>http://chaoticjava.com/posts/how-does-garbage-collection-work/comment-page-1/#comment-57292</link>
		<dc:creator>Regalla Naresh Reddy</dc:creator>
		<pubDate>Tue, 07 Jul 2009 10:59:33 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/how-does-garbage-collection-work/#comment-57292</guid>
		<description>This is ok ... But the some where it is complex to understand ....! 

The terms which you have used are standard or not ....?</description>
		<content:encoded><![CDATA[<p>This is ok &#8230; But the some where it is complex to understand &#8230;.! </p>
<p>The terms which you have used are standard or not &#8230;.?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
