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