• Bug
  • Status: Open
  • 2 Major
  • Resolution:
  • interfaces
  • Reporter: asingh
  • December 02, 2009
  • 0
  • Watchers: 0
  • December 16, 2011

Description

Though peerUrls is created using Collections.synchronizedMap(new HashMap()), compound operations are not thread-safe. Dont think its a big issue though, at worst it will create multiple copies of same (with different dates possibly) CachePeer and the last thread will win in putting it in the map. Should probably synchronize on peerUrls.

Comments