Fixed type error in get_results.py.
Java version of locks benchmark.
C and Java versions of barrier benchmark.