tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Schoett <oliver.scho...@capgemini-sdm.com>
Subject Re: jvm cowardly refuses to print a thread dump
Date Tue, 02 Dec 2008 13:35:33 GMT
Leon Rosenberg wrote:
> But back to the ArrayList, how high is the probability of having
> ArrayList.size() twice in the similar call-tree in one ThreadDump?
>    

Very likely you have unsynchronized accesses to the ArrayList, which 
from time to time send one of the threads involved into an infinite 
tight loop inside an ArrayList access function.  A way to confirm this 
is to take two thread dumps a minute apart; if you find the *same* 
threads in the same ArrayList access functions, they loop infinitely.

Regards,

Oliver Schoett


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message