Closed GoogleCodeExporter closed 9 years ago
Just committed your fix. http://code.google.com/p/morphia/source/detail?r=1803
Original comment by scotthernandez
on 8 Feb 2012 at 6:11
not fixed, the bigger issue is the use of a vanilla HashSet, it needs something
concurrent as well.
Collections.newSetFromMap(new ConcurrentHashMap<MappedClass, Boolean>());
also, you need to use the return value of putIfAbsent if it is non-null, as it
means something was already there (due to yet another race condition)
Original comment by sc...@relateiq.com
on 8 Feb 2012 at 6:49
This issue was closed by revision r1804.
Original comment by scotthernandez
on 8 Feb 2012 at 7:03
Original issue reported on code.google.com by
sc...@relateiq.com
on 8 Feb 2012 at 5:44