tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46264] Shutting down tomcat with large number of contexts is slow
Date Wed, 12 Oct 2011 08:45:45 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46264

--- Comment #17 from Felix Schumacher <felix.schumacher@internetallee.de> 2011-10-12
08:45:45 UTC ---
The HashMap HostConfig#deployed is used by multiple threads, but is not
synchronized.
So there could be problems, even if I haven't seen any yet.

We could either wrap it using Collections.synchronizedMap, change it to a real
concurrent Map implementation or use the Future, we get from the
executorService to manipulate it again in a single thread.

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

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


Mime
View raw message