docs: private static boolean tryWriteLockMillis(
              long address, long timeInMillis, boolean interruptible) throws InterruptedException {
          long lastTime = System.currentTimeMillis();
          registerWait(address);
          try {
              do {
                  if (LOCK.tryWriteLockAndDeregisterWait(A, null, address + LOCK_OFFSET))
                      return true;
                  checkInterrupted(interruptible);
                  ThreadHints.onSpinWait();
                  long now = System.currentTimeMillis();
                  if (now != lastTime) {
                      lastTime = now;
                      timeInMillis--;
                  }
              } while (timeInMillis >= 0);
              deregisterWait(address);
              return false;
          } catch (Throwable t) {
              throw tryDeregisterWaitAndRethrow(address, t);
          }
      }