presto-spi/src/main/java/io/prestosql/spi/block/ShortArrayBlockBuilder.java/ShortArrayBlockBuilder/ShortArrayBlockBuilder
class ShortArrayBlockBuilder:    public ShortArrayBlockBuilder(@Nullable BlockBuilderStatus blockBuilderStatus, int expectedEntries)
    {
        this.blockBuilderStatus = blockBuilderStatus;
        this.initialEntryCount = max(expectedEntries, 1);

        updateDataSize();
    }