<?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: Writing JUnit tests for memory leaks</title>
	<atom:link href="http:///2007/11/06/writing-junit-tests-for-memory-leaks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.palantirtech.com/2007/11/06/writing-junit-tests-for-memory-leaks/</link>
	<description>Articles from the Engineering Group at Palantir Technologies</description>
	<lastBuildDate>Tue, 24 Jan 2012 09:51:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Shankar Vilayannur</title>
		<link>http://blog.palantirtech.com/2007/11/06/writing-junit-tests-for-memory-leaks/comment-page-1/#comment-825</link>
		<dc:creator>Shankar Vilayannur</dc:creator>
		<pubDate>Mon, 06 Dec 2010 19:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.palantirtech.com/2007/11/06/writing-junit-tests-for-memory-leaks/#comment-825</guid>
		<description>Hi,

This is a very interesting idea for detecting memory leaks. I was wondering if the reliability of System.gc() poses any problems in how this mechanism works? If the piece of code that may have leaks is fairly large and all the potentially offending strong references are tagged for leak detection using corresponding weak references, what happens if System.gc() did not complete the garbage collection? Do we get false alarms?

Thanks
Shankar</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This is a very interesting idea for detecting memory leaks. I was wondering if the reliability of System.gc() poses any problems in how this mechanism works? If the piece of code that may have leaks is fairly large and all the potentially offending strong references are tagged for leak detection using corresponding weak references, what happens if System.gc() did not complete the garbage collection? Do we get false alarms?</p>
<p>Thanks<br />
Shankar</p>
]]></content:encoded>
	</item>
</channel>
</rss>

