Changes between Version 1 and Version 2 of Ticket #11833, comment 6


Ignore:
Timestamp:
2015-09-08T20:45:33+02:00 (10 years ago)
Author:
wiktorn

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11833, comment 6

    v1 v2  
    77>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.
    88>http://lightbody.net/blog/2005/07/hashmapget_can_cause_an_infini.html
     9Though the link is dead for me ATM.
     10
     11This was the situation observed in first stack trace
    912
    1013And this SO is even better:
    1114http://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