mongodb/mongo-java-driver — pull request #57 by jedws (2012-01-31 02:19:39+00:00)
Title: Encoding concurrency

Here's an implementation that is threadsafe and performant. It uses the CopyOnWriteMap as the basis for a simple ComputingMap that is then used to implement the original ClassMap functionality. The original population isn't as pretty as it could be, but the parent class finding code at least been separated out into ClassAncestry.