start of HybridReentrantLock + tests taken from OpenJdk