< prev index next >

src/hotspot/share/c1/c1_Runtime1.hpp

Print this page

        

@@ -49,17 +49,24 @@
   stub(new_instance)                 \
   stub(fast_new_instance)            \
   stub(fast_new_instance_init_check) \
   stub(new_type_array)               \
   stub(new_object_array)             \
+  stub(new_value_array)              \
   stub(new_multi_array)              \
+  stub(load_flattened_array)         \
+  stub(store_flattened_array)        \
+  stub(substitutability_check)       \
+  stub(buffer_value_args)            \
+  stub(buffer_value_args_no_receiver)\
   stub(handle_exception_nofpu)         /* optimized version that does not preserve fpu registers */ \
   stub(handle_exception)             \
   stub(handle_exception_from_callee) \
   stub(throw_array_store_exception)  \
   stub(throw_class_cast_exception)   \
   stub(throw_incompatible_class_change_error)   \
+  stub(throw_illegal_monitor_state_exception)   \
   stub(slow_subtype_check)           \
   stub(monitorenter)                 \
   stub(monitorenter_nofpu)             /* optimized version that does not preserve fpu registers */ \
   stub(monitorexit)                  \
   stub(monitorexit_nofpu)              /* optimized version that does not preserve fpu registers */ \

@@ -102,28 +109,36 @@
   static int _arraycopy_slowcase_cnt;
   static int _arraycopy_checkcast_cnt;
   static int _arraycopy_checkcast_attempt_cnt;
   static int _new_type_array_slowcase_cnt;
   static int _new_object_array_slowcase_cnt;
+  static int _new_value_array_slowcase_cnt;
   static int _new_instance_slowcase_cnt;
   static int _new_multi_array_slowcase_cnt;
+  static int _load_flattened_array_slowcase_cnt;
+  static int _store_flattened_array_slowcase_cnt;
+  static int _substitutability_check_slowcase_cnt;
+  static int _buffer_value_args_slowcase_cnt;
+  static int _buffer_value_args_no_receiver_slowcase_cnt;
   static int _monitorenter_slowcase_cnt;
   static int _monitorexit_slowcase_cnt;
   static int _patch_code_slowcase_cnt;
   static int _throw_range_check_exception_count;
   static int _throw_index_exception_count;
   static int _throw_div0_exception_count;
   static int _throw_null_pointer_exception_count;
   static int _throw_class_cast_exception_count;
   static int _throw_incompatible_class_change_error_count;
+  static int _throw_illegal_monitor_state_exception_count;
   static int _throw_array_store_exception_count;
   static int _throw_count;
 #endif
 
  private:
   static CodeBlob* _blobs[number_of_ids];
   static const char* _blob_names[];
+  static void buffer_value_args_impl(JavaThread* thread, Method* m, bool allocate_receiver);
 
   // stub generation
  public:
   static CodeBlob*  generate_blob(BufferBlob* buffer_blob, int stub_id, const char* name, bool expect_oop_map, StubAssemblerCodeGenClosure *cl);
   static void       generate_blob_for(BufferBlob* blob, StubID id);

@@ -139,11 +154,17 @@
 
   // runtime entry points
   static void new_instance    (JavaThread* thread, Klass* klass);
   static void new_type_array  (JavaThread* thread, Klass* klass, jint length);
   static void new_object_array(JavaThread* thread, Klass* klass, jint length);
+  static void new_value_array (JavaThread* thread, Klass* klass, jint length);
   static void new_multi_array (JavaThread* thread, Klass* klass, int rank, jint* dims);
+  static void load_flattened_array(JavaThread* thread, valueArrayOopDesc* array, int index);
+  static void store_flattened_array(JavaThread* thread, valueArrayOopDesc* array, int index, oopDesc* value);
+  static int  substitutability_check(JavaThread* thread, oopDesc* left, oopDesc* right);
+  static void buffer_value_args(JavaThread* thread, Method* method);
+  static void buffer_value_args_no_receiver(JavaThread* thread, Method* method);
 
   static address counter_overflow(JavaThread* thread, int bci, Method* method);
 
   static void unimplemented_entry   (JavaThread* thread, StubID id);
 

@@ -153,10 +174,11 @@
   static void throw_index_exception(JavaThread* thread, int index);
   static void throw_div0_exception(JavaThread* thread);
   static void throw_null_pointer_exception(JavaThread* thread);
   static void throw_class_cast_exception(JavaThread* thread, oopDesc* object);
   static void throw_incompatible_class_change_error(JavaThread* thread);
+  static void throw_illegal_monitor_state_exception(JavaThread* thread);
   static void throw_array_store_exception(JavaThread* thread, oopDesc* object);
 
   static void monitorenter(JavaThread* thread, oopDesc* obj, BasicObjectLock* lock);
   static void monitorexit (JavaThread* thread, BasicObjectLock* lock);
 
< prev index next >