Joel Dice c0d178d5f1 implement ConcurrentHashMap and AtomicReferenceArray
This is the simplest possible ConcurrentHashMap I could come up with
that works and is actually concurrent in the way one would expect.
It's pretty unconventional, being based on a persistent red-black
tree, and not particularly memory-efficient or cache-friendly.  I
think this is a good place to start, though, and it should perform
reasonably well for most workloads.  Patches for a more efficient
implementation are welcome!

I also implemented AtomicReferenceArray, since I was using it in my
first, naive attempt to implement ConcurrentHashMap.

I had to do a bit of refactoring, including moving some non-standard
stuff from java.util.Collections to avian.Data so I could make it
available to code outside the java.util package, which is why I had to
modify several unrelated files.
2014-03-12 10:44:24 -06:00
..
2012-08-11 08:01:44 -06:00
2013-11-04 12:08:22 -06:00
2012-12-20 09:05:30 -07:00
2012-12-20 09:05:30 -07:00
2013-12-06 19:30:04 -07:00
2014-01-20 10:17:22 -07:00
2011-11-03 12:30:51 -06:00
2014-03-10 08:51:00 -06:00
2008-11-02 15:25:51 -07:00