tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon Rosenberg" <rosenberg.l...@googlemail.com>
Subject Re: jvm cowardly refuses to print a thread dump
Date Fri, 05 Dec 2008 17:13:26 GMT
On Fri, Dec 5, 2008 at 3:45 PM, Oliver Schoett
<oliver.schoett@capgemini-sdm.com> wrote:
> Leon Rosenberg wrote:
>>
>> You should consider using synchronized lists :-) (for example Vector).
>>
>
> Does not help :-)  If you do not put sync. brackets around
>
>   Check some property (e. g., size());
>   Do something according to the property value
>
> you lose, because the property may have changed already when the second line
> is executed.

Hello Oliver,

yes, in this very special case, which has nothing to do with the
original post of this thread
you are absolutely right.

regards
Leon

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


Mime
View raw message