jfence
Java agent that instruments classes and makes all declared fields volatile. So, some memory consistency errors can be fixed. But may be not right :-) This agent was created just for fun as example of bytecode instrumentation using Javassist library.