docs: private void updateMax(int idx, double v) {
      AtomicLong current = max.getCurrent(idx);
      long m = current.get();
      while (v > Double.longBitsToDouble(m)) {
        if (current.compareAndSet(m, Double.doubleToLongBits(v))) {
          break;
        }
        m = current.get();
      }
    }