< prev index next >

src/hotspot/share/prims/vectorSupport.hpp

Print this page

        

@@ -36,10 +36,18 @@
 extern "C" {
   void JNICALL JVM_RegisterVectorSupportMethods(JNIEnv* env, jclass vsclass);
 }
 
 class VectorSupport : AllStatic {
+ private:
+  static void init_mask_array(typeArrayOop arr, BasicType elem_bt, int num_elem, address value_addr);
+  static void init_vector_array(typeArrayOop arr, BasicType elem_bt, int num_elem, address value_addr);
+  static oop  allocate_vector_payload_helper(InstanceKlass* ik, BasicType elem_bt, int num_elem, address value_addr, TRAPS);
+
+  static BasicType klass2bt(InstanceKlass* ik);
+  static jint klass2length(InstanceKlass* ik);
+
  public:
 
    // Should be aligned with constants in jdk.internal.vm.vector.VectorSupport
   enum VectorOperation {
     // Unary

@@ -72,10 +80,12 @@
     VECTOR_OP_REINTERPRET = 18
   };
 
   static int vop2ideal(jint vop, BasicType bt);
 
+  static oop  allocate_vector(InstanceKlass* holder, frame* fr, RegisterMap* reg_map, ObjectValue* sv, TRAPS);
+
   static bool is_vector(Klass* klass);
   static bool is_vector_mask(Klass* klass);
   static bool is_vector_shuffle(Klass* klass);
 };
 #endif // SHARE_PRIMS_VECTORSUPPORT_HPP
< prev index next >