code: @Override
      public void setMaxSize(int maxSize)
      {
          SizeData size = poolSize;
          if (size.maxSize != maxSize)
          {
              setPoolSize(Math.min(maxSize, size.minSize), maxSize);
              drainToSize(maxSize, Integer.MAX_VALUE);
          }
      }
docs: F96377