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