This changes adds instrumentation for various locks in the JVM. (not including JVMTI) http://cr.openjdk.java.net/~aeubanks/tsanlock/webrev.00 Note the NonRacy tests still don't pass for some reason. I believe it's due to dynamic linking of libtsan.so.