• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • hsingh
  • Reporter: teck
  • February 06, 2009
  • 0
  • Watchers: 0
  • February 12, 2013
  • February 27, 2009


Given that the iterators on CSM are backed by Hashtable’s iterators they are probably fail-fast and will throw ConcurrentModification exception. For any real world usage of CSM I’d think the iterators would be completely useless for this reason. Seems like we should either make them more like ConcurrentHashMap’s weakly consistent iterators or not support them at all.

note: I haven’t actually tested this, but I’m almost certain sure it is the case


Chris Dennis 2009-02-27

New CSM implementation is no longer backed by a Hashtable.

Chris Dennis 2009-02-27

Test coverage added in r14295

Himadri Singh 2009-03-23

As per FORGE-371, the underlying data structure for ConcurrentStringMap has been changed from HashTable to NonBlockingHashMap