docs: public void stop(boolean completeClear) {
          stopping = true;
          this.htod.invalidationBuffer.setStopping(true);
          htod.stop(completeClear);
          if (this.garbageCollectionThread != null) { // 313370
              synchronized (this.garbageCollectionThread.gcMonitor) {
                  if (garbageCollectionThread.currentThread != null) {
                      garbageCollectionThread.currentThread.cancel(false);
                  }
              }
          }
          if (this.diskCleanupThread != null) {
              synchronized (this.diskCleanupThread.dcMonitor) {
                  this.diskCleanupThread.stopped = true;
                  this.diskCleanupThread.processDiskCleanup = true;
                  if (diskCleanupThread.currentThread != null) {
                      diskCleanupThread.currentThread.cancel(false);
                  }
              }
          }
      }