int lockOffset = getThinLockOffset(o); if (lockOffset != -1) {
Offset lockOffset = getThinLockOffset(o); if (!lockOffset.isMax()) {
  public static void genericUnlock(Object o) {    int lockOffset = getThinLockOffset(o);    if (lockOffset != -1) {      VM_ThinLock.unlock(o, lockOffset);    } else {      VM_LockNursery.unlock(o);    }  }