public static void main(String[] args) {
long pointer = UNSAFE.allocateMemory(16);
UNSAFE.putInt(pointer, 42);
UNSAFE.putInt(pointer + 8, 4242);
int a = UNSAFE.getInt(pointer);
int b = UNSAFE.getInt(pointer + 8);
System.out.println("a = " + a);
System.out.println("b = " + b);
}