public static long objectFieldOffset(final Field field) {
        return field == null || hasUnsafe() ? UNSAFE_ACCESSOR.objectFieldOffset(field) : -1;
    }
Returns the offset of the provided field, or {@code -1} if {@code sun.misc.Unsafe} is not
available.
jraft-core/src/main/java/com/alipay/sofa/jraft/util/internal/UnsafeUtil.java