<?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: Java Thread Dump</title>
	<atom:link href="http://www.myloadtest.com/java-thread-dump/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.myloadtest.com/java-thread-dump/</link>
	<description>Performance Testing with a LoadRunner focus</description>
	<lastBuildDate>Sat, 13 Mar 2010 03:31:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anthony Hallett</title>
		<link>http://www.myloadtest.com/java-thread-dump/#comment-5548</link>
		<dc:creator>Anthony Hallett</dc:creator>
		<pubDate>Mon, 23 Apr 2007 00:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.myloadtest.com/?p=86#comment-5548</guid>
		<description>Good to see you back posting

:-)</description>
		<content:encoded><![CDATA[<p>Good to see you back posting</p>
<p>:-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Moncrieff</title>
		<link>http://www.myloadtest.com/java-thread-dump/#comment-5019</link>
		<dc:creator>Stuart Moncrieff</dc:creator>
		<pubDate>Tue, 10 Apr 2007 22:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.myloadtest.com/?p=86#comment-5019</guid>
		<description>Some additional points:

&#183; You may be able to generate a thread dump from the Admin Console of your application server. Under Unix, this is much simpler than doing a kill -3 from the shell, and it means that you do not have to be a member of the same group that the application server is a member of.
&#183; It is helpful to run multiple stack traces over a short period of time. If the same thread is still stuck at the same position of code, that is a good indication of a problem. This is a good thing to create a shell script for.
&#183; I quite liked this blog entry on stack traces and thread dumps: http://www.me.umn.edu/~shivane/blogs/cafefeed/2004/06/of-thread-dumps-and-stack-traces.html
&#183; Also, this one: http://java.sun.com/developer/technicalArticles/Programming/Stacktrace/
</description>
		<content:encoded><![CDATA[<p>Some additional points:</p>
<p>&middot; You may be able to generate a thread dump from the Admin Console of your application server. Under Unix, this is much simpler than doing a kill -3 from the shell, and it means that you do not have to be a member of the same group that the application server is a member of.<br />
&middot; It is helpful to run multiple stack traces over a short period of time. If the same thread is still stuck at the same position of code, that is a good indication of a problem. This is a good thing to create a shell script for.<br />
&middot; I quite liked this blog entry on stack traces and thread dumps: <a href="http://www.me.umn.edu/~shivane/blogs/cafefeed/2004/06/of-thread-dumps-and-stack-traces.html" rel="nofollow">http://www.me.umn.edu/~shivane/blogs/cafefeed/2004/06/of-thread-dumps-and-stack-traces.html</a><br />
&middot; Also, this one: <a href="http://java.sun.com/developer/technicalArticles/Programming/Stacktrace/" rel="nofollow">http://java.sun.com/developer/technicalArticles/Programming/Stacktrace/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Moncrieff</title>
		<link>http://www.myloadtest.com/java-thread-dump/#comment-5018</link>
		<dc:creator>Stuart Moncrieff</dc:creator>
		<pubDate>Tue, 10 Apr 2007 22:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.myloadtest.com/?p=86#comment-5018</guid>
		<description>The Sun 1.5 JVM is able to detect some simple deadlocks.

Using  the example code from 
http://java.sun.com/docs/books/faq/src/thr/DeadlockExample.html the thread dump includes the following information: 

Found one Java-level deadlock:
=============================
&quot;Thread-1&quot;:
  waiting to lock monitor 0x00a891ec (object 0x06c216e0, a java.lang.String),
  which is held by &quot;Thread-0&quot;
&quot;Thread-0&quot;:
  waiting to lock monitor 0x00a8920c (object 0x06c21708, a java.lang.String),
  which is held by &quot;Thread-1&quot;</description>
		<content:encoded><![CDATA[<p>The Sun 1.5 JVM is able to detect some simple deadlocks.</p>
<p>Using  the example code from<br />
<a href="http://java.sun.com/docs/books/faq/src/thr/DeadlockExample.html" rel="nofollow">http://java.sun.com/docs/books/faq/src/thr/DeadlockExample.html</a> the thread dump includes the following information: </p>
<p>Found one Java-level deadlock:<br />
=============================<br />
&#8220;Thread-1&#8243;:<br />
  waiting to lock monitor 0&#215;00a891ec (object 0&#215;06c216e0, a java.lang.String),<br />
  which is held by &#8220;Thread-0&#8243;<br />
&#8220;Thread-0&#8243;:<br />
  waiting to lock monitor 0&#215;00a8920c (object 0&#215;06c21708, a java.lang.String),<br />
  which is held by &#8220;Thread-1&#8243;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
