code: private Boolean switchCheckAndAbortLocked() {
      if (!hasExpansionOccurred()) {
        clearOutReferences();
        return true;
      }
      hashArray = hash.getEntries();
      clearCount = hash.getClearOrCloseCount();
      boolean _cacheClosed = hashArray == null;
      if (_cacheClosed) {
        clearOutReferences();
        throw new CacheClosedException(cache);
      }
      return false;
    }
docs: Check for expansion and abort criteria.
  
  @return true, if iteration should abort