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