presto-main/src/main/java/io/prestosql/operator/aggregation/state/KeyValuePairsStateFactory.java/KeyValuePairsStateFactory/ensureCapacity
class KeyValuePairsStateFactory:        @Override
        public void ensureCapacity(long size)
        {
            pairs.ensureCapacity(size);
        }