< prev index next >

src/hotspot/share/c1/c1_Runtime1.hpp

Print this page
@@ -49,17 +49,25 @@
    stub(new_instance)                 \
    stub(fast_new_instance)            \
    stub(fast_new_instance_init_check) \
    stub(new_type_array)               \
    stub(new_object_array)             \
+   stub(new_null_free_array)          \
    stub(new_multi_array)              \
+   stub(load_flat_array)              \
+   stub(store_flat_array)             \
+   stub(substitutability_check)       \
+   stub(buffer_inline_args)           \
+   stub(buffer_inline_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(throw_identity_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 */ \

@@ -98,27 +106,36 @@
    static uint _arraycopy_slowcase_cnt;
    static uint _arraycopy_checkcast_cnt;
    static uint _arraycopy_checkcast_attempt_cnt;
    static uint _new_type_array_slowcase_cnt;
    static uint _new_object_array_slowcase_cnt;
+   static uint _new_null_free_array_slowcase_cnt;
    static uint _new_instance_slowcase_cnt;
    static uint _new_multi_array_slowcase_cnt;
+   static uint _load_flat_array_slowcase_cnt;
+   static uint _store_flat_array_slowcase_cnt;
+   static uint _substitutability_check_slowcase_cnt;
+   static uint _buffer_inline_args_slowcase_cnt;
+   static uint _buffer_inline_args_no_receiver_slowcase_cnt;
    static uint _monitorenter_slowcase_cnt;
    static uint _monitorexit_slowcase_cnt;
    static uint _patch_code_slowcase_cnt;
    static uint _throw_range_check_exception_count;
    static uint _throw_index_exception_count;
    static uint _throw_div0_exception_count;
    static uint _throw_null_pointer_exception_count;
    static uint _throw_class_cast_exception_count;
    static uint _throw_incompatible_class_change_error_count;
+   static uint _throw_illegal_monitor_state_exception_count;
+   static uint _throw_identity_exception_count;
    static uint _throw_count;
  #endif
  
   private:
    static CodeBlob* _blobs[number_of_ids];
    static const char* _blob_names[];
+   static void buffer_inline_args_impl(JavaThread* current, 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);

@@ -132,13 +149,20 @@
    static OopMapSet* generate_stub_call(StubAssembler* sasm, Register result, address entry,
                                         Register arg1 = noreg, Register arg2 = noreg, Register arg3 = noreg);
  
    // runtime entry points
    static void new_instance    (JavaThread* current, Klass* klass);
+   static void new_instance_no_inline(JavaThread* current, Klass* klass);
    static void new_type_array  (JavaThread* current, Klass* klass, jint length);
    static void new_object_array(JavaThread* current, Klass* klass, jint length);
+   static void new_null_free_array(JavaThread* current, Klass* klass, jint length);
    static void new_multi_array (JavaThread* current, Klass* klass, int rank, jint* dims);
+   static void load_flat_array(JavaThread* current, flatArrayOopDesc* array, int index);
+   static void store_flat_array(JavaThread* current, flatArrayOopDesc* array, int index, oopDesc* value);
+   static int  substitutability_check(JavaThread* current, oopDesc* left, oopDesc* right);
+   static void buffer_inline_args(JavaThread* current, Method* method);
+   static void buffer_inline_args_no_receiver(JavaThread* current, Method* method);
  
    static address counter_overflow(JavaThread* current, int bci, Method* method);
  
    static void unimplemented_entry(JavaThread* current, StubID id);
  

@@ -148,10 +172,12 @@
    static void throw_index_exception(JavaThread* current, int index);
    static void throw_div0_exception(JavaThread* current);
    static void throw_null_pointer_exception(JavaThread* current);
    static void throw_class_cast_exception(JavaThread* current, oopDesc* object);
    static void throw_incompatible_class_change_error(JavaThread* current);
+   static void throw_illegal_monitor_state_exception(JavaThread* current);
+   static void throw_identity_exception(JavaThread* current, oopDesc* object);
    static void throw_array_store_exception(JavaThread* current, oopDesc* object);
  
    static void monitorenter(JavaThread* current, oopDesc* obj, BasicObjectLock* lock);
    static void monitorexit (JavaThread* current, BasicObjectLock* lock);
  
< prev index next >