--- old/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractSpecies.java 2019-04-26 14:49:01.107538700 -0700 +++ new/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractSpecies.java 2019-04-26 14:49:00.476780900 -0700 @@ -46,14 +46,14 @@ @Stable protected final int elementSize; @Stable - protected final Class boxType; + protected final Class vectorType; @Stable protected final Class maskType; @Stable protected final VectorShape indexShape; AbstractSpecies(VectorShape shape, Class elementType, int elementSize, - Class boxType, Class maskType, Function> maskFactory, + Class vectorType, Class maskType, Function> maskFactory, Function> shuffleFromOpFactory, fShuffleFromArray shuffleFromArrayFactory) { @@ -64,13 +64,12 @@ this.shape = shape; this.elementType = elementType; this.elementSize = elementSize; - this.boxType = boxType; + this.vectorType = vectorType; this.maskType = maskType; - if (boxType == Long64Vector.class || boxType == Double64Vector.class) { + if (vectorType == Long64Vector.class || vectorType == Double64Vector.class) { indexShape = VectorShape.S_64_BIT; - } - else { + } else { int bitSize = Vector.bitSizeForVectorLength(int.class, shape.bitSize() / elementSize); indexShape = VectorShape.forBitSize(bitSize); } @@ -96,8 +95,8 @@ @Override @ForceInline - public Class boxType() { - return boxType; + public Class vectorType() { + return vectorType; } @Override