import java.lang.reflect.*;
import sun.misc.*;

public class Test {
    private static Unsafe unsafe;

    static {
        try {
            Field field = Unsafe.class.getDeclaredField("theUnsafe");
            field.setAccessible(true);
            unsafe = (Unsafe)field.get(null);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }

    public static void test(boolean b) {
        if (b) {
            unsafe.putLong(-1, -1);
        }
    }

    public static void main(String[] args) {
        test(false);
    }
}
