DZone voters are special people. Be special. Login and vote now.
By jsugrue
via java.dzone.com
Published: Jun 30 2008 / 08:21
In theory everyone knows Hash Map is not Thread Safe and it shouldn’t be used in multi Threaded applications. But still people come out with their own theories that they can use HashMap in their context. Some say they are just reading the data and map is not written to a lot. Unfortunately none of these explanations holds good when one lands up in a synchronization issue
Comments
climber76 replied ago:
Hi all,
Glance at ConcurrentHashMap
imeshev replied ago:
The next thing we hear is that arrays and longs should not be used in multi-treaded applications. What a horrible BS.
Voters For This Link (13)
Voters Against This Link (2)