Experiments on Java 5 locks

Experiments on Java 5 locks