presto-spi/src/main/java/io/prestosql/spi/block/ShortArrayBlock.java/ShortArrayBlock/getRegionSizeInBytes
class ShortArrayBlock:    @Override
    public long getRegionSizeInBytes(int position, int length)
    {
        return (Short.BYTES + Byte.BYTES) * (long) length;
    }