@Override
            protected int freeSize() {
                return freeSize.get();
            }
This test creates lots of threads that hammer on the pool
clients/src/test/java/org/apache/kafka/clients/producer/internals/BufferPoolTest.java