Lines Matching defs:thread

57   static frame     last_frame(JavaThread *thread)    { return thread->last_frame(); }
58 static methodOop method(JavaThread *thread) { return last_frame(thread).interpreter_frame_method(); }
59 static address bcp(JavaThread *thread) { return last_frame(thread).interpreter_frame_bcp(); }
60 static int bci(JavaThread *thread) { return last_frame(thread).interpreter_frame_bci(); }
61 static void set_bcp_and_mdp(address bcp, JavaThread*thread);
62 static Bytecodes::Code code(JavaThread *thread) {
64 return Bytecodes::code_at(method(thread), bcp(thread));
66 static bool already_resolved(JavaThread *thread) { return cache_entry(thread)->is_resolved(code(thread)); }
67 static Bytecode bytecode(JavaThread *thread) { return Bytecode(method(thread), bcp(thread)); }
68 static int get_index_u1(JavaThread *thread, Bytecodes::Code bc)
69 { return bytecode(thread).get_index_u1(bc); }
70 static int get_index_u2(JavaThread *thread, Bytecodes::Code bc)
71 { return bytecode(thread).get_index_u2(bc); }
72 static int get_index_u2_cpcache(JavaThread *thread, Bytecodes::Code bc)
73 { return bytecode(thread).get_index_u2_cpcache(bc); }
74 static int get_index_u4(JavaThread *thread, Bytecodes::Code bc)
75 { return bytecode(thread).get_index_u4(bc); }
76 static int number_of_dimensions(JavaThread *thread) { return bcp(thread)[3]; }
78 static ConstantPoolCacheEntry* cache_entry_at(JavaThread *thread, int i) { return method(thread)->constants()->cache()->entry_at(i); }
79 static ConstantPoolCacheEntry* cache_entry(JavaThread *thread) { return cache_entry_at(thread, Bytes::get_native_u2(bcp(thread) + 1)); }
80 static void note_trap(JavaThread *thread, int reason, TRAPS);
83 static nmethod* frequency_counter_overflow_inner(JavaThread* thread, address branch_bcp);
87 static void ldc (JavaThread* thread, bool wide);
88 static void resolve_ldc (JavaThread* thread, Bytecodes::Code bytecode);
91 static void _new (JavaThread* thread, constantPoolOopDesc* pool, int index);
92 static void newarray (JavaThread* thread, BasicType type, jint size);
93 static void anewarray (JavaThread* thread, constantPoolOopDesc* pool, int index, jint size);
94 static void multianewarray(JavaThread* thread, jint* first_size_address);
95 static void register_finalizer(JavaThread* thread, oopDesc* obj);
98 static void quicken_io_cc(JavaThread* thread);
101 static void throw_AbstractMethodError(JavaThread* thread);
102 static void throw_IncompatibleClassChangeError(JavaThread* thread);
103 static void throw_StackOverflowError(JavaThread* thread);
104 static void throw_ArrayIndexOutOfBoundsException(JavaThread* thread, char* name, jint index);
105 static void throw_ClassCastException(JavaThread* thread, oopDesc* obj);
106 static void create_exception(JavaThread* thread, char* name, char* message);
107 static void create_klass_exception(JavaThread* thread, char* name, oopDesc* obj);
108 static address exception_handler_for_exception(JavaThread* thread, oopDesc* exception);
109 static void throw_pending_exception(JavaThread* thread);
112 static void resolve_get_put(JavaThread* thread, Bytecodes::Code bytecode);
115 static void monitorenter(JavaThread* thread, BasicObjectLock* elem);
116 static void monitorexit (JavaThread* thread, BasicObjectLock* elem);
118 static void throw_illegal_monitor_state_exception(JavaThread* thread);
119 static void new_illegal_monitor_state_exception(JavaThread* thread);
122 static void resolve_invoke (JavaThread* thread, Bytecodes::Code bytecode);
123 static void resolve_invokehandle (JavaThread* thread);
124 static void resolve_invokedynamic(JavaThread* thread);
127 static void _breakpoint(JavaThread* thread, methodOopDesc* method, address bcp);
128 static Bytecodes::Code get_original_bytecode_at(JavaThread* thread, methodOopDesc* method, address bcp);
129 static void set_original_bytecode_at(JavaThread* thread, methodOopDesc* method, address bcp, Bytecodes::Code new_code);
130 static bool is_breakpoint(JavaThread *thread) { return Bytecodes::code_or_bp_at(bcp(thread)) == Bytecodes::_breakpoint; }
133 static void at_safepoint(JavaThread* thread);
136 static void post_field_access(JavaThread *thread, oopDesc* obj,
138 static void post_field_modification(JavaThread *thread, oopDesc* obj,
140 static void post_method_entry(JavaThread *thread);
141 static void post_method_exit (JavaThread *thread);
145 static void prepare_native_call(JavaThread* thread, methodOopDesc* method);
146 static address slow_signature_handler(JavaThread* thread,
152 static void popframe_move_outgoing_args(JavaThread* thread, void* src_address, void* dest_address);
174 static nmethod* frequency_counter_overflow(JavaThread* thread, address branch_bcp);
178 static void profile_method(JavaThread* thread);
179 static void update_mdp_for_ret(JavaThread* thread, int bci);