Changes between Version 1 and Version 2 of Ticket #11833, comment 6
- Timestamp:
- 2015-09-08T20:45:33+02:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11833, comment 6
v1 v2 7 7 >One note is that under some circumstances, a get() from an unsynchronized HashMap can cause an infinite loop. This can occur if a concurrent put() causes a rehash of the Map. 8 8 >http://lightbody.net/blog/2005/07/hashmapget_can_cause_an_infini.html 9 Though the link is dead for me ATM. 10 11 This was the situation observed in first stack trace 9 12 10 13 And this SO is even better: 11 14 http://stackoverflow.com/questions/13695832/explain-the-timing-causing-hashmap-put-to-execute-an-infinite-loop 12 Though the link is dead for me ATM.13 14 This was the situation observed in first stack trace


