System.out.println("Read Locks: " + (System.currentTimeMillis() - timer - fixed));
timer = System.currentTimeMillis();
for (int i = 0; i < MAX; ++i) {
lock.acquireExclusiveLock();
lock.releaseExclusiveLock();
}
System.out.println("Write Locks: " + (System.currentTimeMillis() - timer - fixed));
timer = System.currentTimeMillis();