< prev index next >

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorShape.java

Print this page
rev 54658 : refactored mask and shuffle creation methods, moved classes to top-level
rev 54660 : Javadoc changes

@@ -23,10 +23,11 @@
  * questions.
  */
 package jdk.incubator.vector;
 
 import jdk.internal.misc.Unsafe;
+import jdk.internal.vm.annotation.ForceInline;
 import jdk.internal.vm.annotation.Stable;
 
 /**
  * A {@code VectorShape} governs the total size, in bits, of a
  * {@link Vector}, {@link VectorMask}, or {@link VectorShuffle}.  The shape in

@@ -54,10 +55,11 @@
     /**
      * Returns the size, in bits, of this shape.
      *
      * @return the size, in bits, of this shape.
      */
+    @ForceInline
     public int bitSize() {
         return bitSize;
     }
 
     /**
< prev index next >