public class Foo { volatile int x = 1; }