DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36541>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36541





------- Additional Comments From [EMAIL PROTECTED]  2005-09-08 14:18 -------
> Overall, it means it's not
> portable, and the webapp really should plan on syncing on the session 
> externally
> wherever needed.
If you use different techniques this might become pain.
It might be hard to tell everyone to synchronize against session, and in the end
you have the same as synchronize in the base class. Well not really the same as
tomcat can synchronize against the map, we have to synchronize on a wider
context - the session.

> What I am willing to provide (this is the intent of the code in
> 5.5.x right now), by default, is making sure the HashMap cannot get corrupted,
> and that the infinite loop described in this report cannot occur.
I wonder how this can be done?
You might have to introduce your own map implementation, no?

Is it possible to create a thread-safe hash-map without synchronization?
Ok, if two threads put in an element with the same key it might not be
deterministic which of both are really set then, but this is not the problem we
have to solve.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to