Java Reference
In-Depth Information
Listing 13.7. Wrapping a Map with a Read-write Lock.
Figure 13.3 shows a throughput comparison between an ArrayList wrapped with a
ReentrantLock and with a ReadWriteLock on a four-way Opteron system running
Solaris. The test program used here is similar to the Map performance test we've been using
Search WWH ::




Custom Search