private static long getFirstOffset() {
try {
final Field fieldOffsetProviderField = NodeUtil.class.getDeclaredField("unsafeFieldOffsetProvider");
fieldOffsetProviderField.setAccessible(true);
final FieldOffsetProvider fieldOffsetProvider = (FieldOffsetProvider) fieldOffsetProviderField.get(null);
final Field firstPrimitiveField = ObjectStorage.class.getDeclaredField("primitiveStorageLocation01");
return fieldOffsetProvider.objectFieldOffset(firstPrimitiveField);
} catch (NoSuchFieldException | IllegalAccessException e) {
throw new RuntimeException(e);
}
}