< prev index next >

src/hotspot/share/c1/c1_Runtime1.hpp

Print this page
rev 49827 : 8201593: Print array length in ArrayIndexOutOfBoundsException.


 126   static OopMapSet* generate_exception_throw(StubAssembler* sasm, address target, bool has_argument);
 127   static OopMapSet* generate_handle_exception(StubID id, StubAssembler* sasm);
 128   static void       generate_unwind_exception(StubAssembler *sasm);
 129   static OopMapSet* generate_patching(StubAssembler* sasm, address target);
 130 
 131   static OopMapSet* generate_stub_call(StubAssembler* sasm, Register result, address entry,
 132                                        Register arg1 = noreg, Register arg2 = noreg, Register arg3 = noreg);
 133 
 134   // runtime entry points
 135   static void new_instance    (JavaThread* thread, Klass* klass);
 136   static void new_type_array  (JavaThread* thread, Klass* klass, jint length);
 137   static void new_object_array(JavaThread* thread, Klass* klass, jint length);
 138   static void new_multi_array (JavaThread* thread, Klass* klass, int rank, jint* dims);
 139 
 140   static address counter_overflow(JavaThread* thread, int bci, Method* method);
 141 
 142   static void unimplemented_entry   (JavaThread* thread, StubID id);
 143 
 144   static address exception_handler_for_pc(JavaThread* thread);
 145 
 146   static void throw_range_check_exception(JavaThread* thread, int index);
 147   static void throw_index_exception(JavaThread* thread, int index);
 148   static void throw_div0_exception(JavaThread* thread);
 149   static void throw_null_pointer_exception(JavaThread* thread);
 150   static void throw_class_cast_exception(JavaThread* thread, oopDesc* object);
 151   static void throw_incompatible_class_change_error(JavaThread* thread);
 152   static void throw_array_store_exception(JavaThread* thread, oopDesc* object);
 153 
 154   static void monitorenter(JavaThread* thread, oopDesc* obj, BasicObjectLock* lock);
 155   static void monitorexit (JavaThread* thread, BasicObjectLock* lock);
 156 
 157   static void deoptimize(JavaThread* thread, jint trap_request);
 158 
 159   static int access_field_patching(JavaThread* thread);
 160   static int move_klass_patching(JavaThread* thread);
 161   static int move_mirror_patching(JavaThread* thread);
 162   static int move_appendix_patching(JavaThread* thread);
 163 
 164   static void patch_code(JavaThread* thread, StubID stub_id);
 165 
 166  public:




 126   static OopMapSet* generate_exception_throw(StubAssembler* sasm, address target, bool has_argument);
 127   static OopMapSet* generate_handle_exception(StubID id, StubAssembler* sasm);
 128   static void       generate_unwind_exception(StubAssembler *sasm);
 129   static OopMapSet* generate_patching(StubAssembler* sasm, address target);
 130 
 131   static OopMapSet* generate_stub_call(StubAssembler* sasm, Register result, address entry,
 132                                        Register arg1 = noreg, Register arg2 = noreg, Register arg3 = noreg);
 133 
 134   // runtime entry points
 135   static void new_instance    (JavaThread* thread, Klass* klass);
 136   static void new_type_array  (JavaThread* thread, Klass* klass, jint length);
 137   static void new_object_array(JavaThread* thread, Klass* klass, jint length);
 138   static void new_multi_array (JavaThread* thread, Klass* klass, int rank, jint* dims);
 139 
 140   static address counter_overflow(JavaThread* thread, int bci, Method* method);
 141 
 142   static void unimplemented_entry   (JavaThread* thread, StubID id);
 143 
 144   static address exception_handler_for_pc(JavaThread* thread);
 145 
 146   static void throw_range_check_exception(JavaThread* thread, int index, arrayOopDesc* a);
 147   static void throw_index_exception(JavaThread* thread, int index);
 148   static void throw_div0_exception(JavaThread* thread);
 149   static void throw_null_pointer_exception(JavaThread* thread);
 150   static void throw_class_cast_exception(JavaThread* thread, oopDesc* object);
 151   static void throw_incompatible_class_change_error(JavaThread* thread);
 152   static void throw_array_store_exception(JavaThread* thread, oopDesc* object);
 153 
 154   static void monitorenter(JavaThread* thread, oopDesc* obj, BasicObjectLock* lock);
 155   static void monitorexit (JavaThread* thread, BasicObjectLock* lock);
 156 
 157   static void deoptimize(JavaThread* thread, jint trap_request);
 158 
 159   static int access_field_patching(JavaThread* thread);
 160   static int move_klass_patching(JavaThread* thread);
 161   static int move_mirror_patching(JavaThread* thread);
 162   static int move_appendix_patching(JavaThread* thread);
 163 
 164   static void patch_code(JavaThread* thread, StubID stub_id);
 165 
 166  public:


< prev index next >