tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: DO NOT REPLY [Bug 36541] - session getAttribute/setAttribute and removeAttribute are NOT Thread safe.
Date Wed, 07 Sep 2005 22:53:26 GMT
Remy Maucherat wrote:
> Synchronizing the writes will also fix problems, since I think the 
> underlying structure of the hashmap went bad due to a concurrency of 
> reads. Try it before whining. Thanks.

Just a quick clarification. Did you mean to write "...Synchronizing 
the *reads* will also fix problems..."?

If concurrent reads is the problem, then don't the reads need to be 
synchronised? I thought from one of your earlier posts that the writes 
were already synchronised.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message