< prev index next >

src/hotspot/share/c1/c1_Runtime1.hpp

Print this page
*** 45,21 ***
--- 45,29 ---
    stub(throw_index_exception)          /* throws IndexOutOfBoundsException */ \
    stub(throw_div0_exception)         \
    stub(throw_null_pointer_exception) \
    stub(register_finalizer)           \
    stub(new_instance)                 \
+   stub(new_instance_no_inline)       \
    stub(fast_new_instance)            \
    stub(fast_new_instance_init_check) \
    stub(new_type_array)               \
    stub(new_object_array)             \
+   stub(new_flat_array)               \
    stub(new_multi_array)              \
+   stub(load_flattened_array)         \
+   stub(store_flattened_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(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,35 ---
    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_flat_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_inline_args_slowcase_cnt;
+   static int _buffer_inline_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_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 ***
--- 148,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_flat_array (JavaThread* current, Klass* klass, jint length);
    static void new_multi_array (JavaThread* current, Klass* klass, int rank, jint* dims);
+   static void load_flattened_array(JavaThread* current, flatArrayOopDesc* array, int index);
+   static void store_flattened_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 ***
--- 171,11 ---
    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_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 >