docs: public static void spinLock(ReentrantLock lock) {
          if (LOCK_SPIN_MICROSECONDS > 0) {
              long nanos = -1;
              for (;;) {
                  if (lock.tryLock()) return;
                  if (nanos == -1) {
                      nanos = System.nanoTime();
                  } else if (System.nanoTime() - nanos > LOCK_SPIN_MICROSECONDS) {
                      lock.lock();
                      return;
                  }
              }
          } else {
              lock.lock();
          }
      }