changed the compiler barriers used