code: public Pair<Integer, Integer> getMinSizeAndSizeOfInBuffer(int executionThreadsCount) {
          // 20% percent of executionThreadsCount, but bigger than 1
          int defaultMinInBufferSize = Math.max(1, executionThreadsCount / 5);
          int minInBufferSizeLocal = getInteger(WORKER_INBUFFER_MIN_SIZE, defaultMinInBufferSize);
          int minInBufferSize = (minInBufferSizeLocal > 0) ? minInBufferSizeLocal : defaultMinInBufferSize;
  
          int defaultNewInBufferSize = (executionThreadsCount == 1) ? 2 : ((3 * executionThreadsCount) / 2);
          int newInBufferSizeLocal = getInteger(WORKER_INBUFFER_SIZE, defaultNewInBufferSize);
          int newInBufferSize = (newInBufferSizeLocal > minInBufferSize) ? newInBufferSizeLocal : defaultNewInBufferSize;
  
          if (newInBufferSize <= minInBufferSize) {
              throw new IllegalStateException(
                      format("Value of property \"%s\" must be greater than the value of property \"%s\".",
                              WORKER_INBUFFER_SIZE, WORKER_INBUFFER_MIN_SIZE));
          }
          return new ImmutablePair<>(minInBufferSize, newInBufferSize);
      }
docs: 10 percent of Xmx