Lines Matching refs:THREAD

129           HandleMarkCleaner __hmc(THREAD);                                        \
131 CALL_VM(SafepointSynchronize::block(THREAD), handle_exception); \
144 ThreadInVMfromJava trans(THREAD); \
145 Exceptions::_throw_msg(THREAD, __FILE__, __LINE__, name, msg); \
164 CALL_VM((void)SharedRuntime::trace_bytecode(THREAD, 0, \
189 ThreadInVMfromJava trans(THREAD); \
190 JvmtiExport::at_single_stepping_point(THREAD, \
195 if (THREAD->pop_frame_pending() && \
196 !THREAD->pop_frame_in_process()) { \
313 CALL_VM(res=InterpreterRuntime::frequency_counter_overflow(THREAD, branch_pc), handle_exception);
336 intptr_t* buf = SharedRuntime::OSR_migration_begin(THREAD); \
416 if (THREAD->pop_frame_pending() && \
417 !THREAD->pop_frame_in_process()) { \
424 if (THREAD->has_pending_exception()) goto label; \
491 register JavaThread* THREAD = istate->thread();
494 #undef THREAD
495 #define THREAD istate->thread()
617 THREAD->set_do_not_unlock();
626 CALL_VM((void)InterpreterRuntime::frequency_counter_overflow(THREAD, NULL), handle_exception);
631 // THREAD->clr_do_not_unlock();
677 intptr_t xx = ((intptr_t) THREAD) ^ (intptr_t) mark;
711 if (Atomic::cmpxchg_ptr((intptr_t)THREAD | unbiased, (intptr_t*) rcvr->mark_addr(), unbiased) != unbiased) {
712 CALL_VM(InterpreterRuntime::monitorenter(THREAD, mon), handle_exception);
722 xx = (intptr_t) rcvr->klass()->klass_part()->prototype_header() | (intptr_t) THREAD;
723 if (Atomic::cmpxchg_ptr((intptr_t)THREAD | (intptr_t) rcvr->klass()->klass_part()->prototype_header(),
726 CALL_VM(InterpreterRuntime::monitorenter(THREAD, mon), handle_exception);
740 xx = (intptr_t) rcvr->klass()->klass_part()->prototype_header() | (intptr_t) THREAD;
759 if (THREAD->is_lock_owned((address) displaced->clear_lock_bits())) {
762 CALL_VM(InterpreterRuntime::monitorenter(THREAD, mon), handle_exception);
767 THREAD->clr_do_not_unlock();
774 if (THREAD->is_interp_only_mode()) {
775 CALL_VM(InterpreterRuntime::post_method_entry(THREAD),
788 assert(THREAD->pop_frame_in_process(), "wrong frame pop state");
790 THREAD->clr_pop_frame_in_process();
812 if (THREAD->pop_frame_pending() && !THREAD->pop_frame_in_process()) {
816 if (THREAD->has_pending_exception()) goto handle_exception;
847 if (THREAD->has_pending_exception()) goto handle_exception;
865 if (THREAD->is_lock_owned((address) displaced->clear_lock_bits())) {
868 CALL_VM(InterpreterRuntime::monitorenter(THREAD, entry), handle_exception);
1530 CALL_VM(InterpreterRuntime::register_finalizer(THREAD, rcvr), handle_exception);
1684 if (THREAD->is_lock_owned((address) displaced->clear_lock_bits())) {
1687 CALL_VM(InterpreterRuntime::monitorenter(THREAD, entry), handle_exception);
1714 CALL_VM(InterpreterRuntime::monitorexit(THREAD, most_recent), handle_exception);
1722 CALL_VM(InterpreterRuntime::throw_illegal_monitor_state_exception(THREAD), handle_exception);
1744 CALL_VM(InterpreterRuntime::resolve_get_put(THREAD, (Bytecodes::Code)opcode),
1763 CALL_VM(InterpreterRuntime::post_field_access(THREAD,
1838 CALL_VM(InterpreterRuntime::resolve_get_put(THREAD, (Bytecodes::Code)opcode),
1863 CALL_VM(InterpreterRuntime::post_field_modification(THREAD,
1957 result = (oop) THREAD->tlab().allocate(obj_size);
1994 CALL_VM(InterpreterRuntime::_new(THREAD, METHOD->constants(), index),
1996 SET_STACK_OBJECT(THREAD->vm_result(), 0);
1997 THREAD->set_vm_result(NULL);
2003 CALL_VM(InterpreterRuntime::anewarray(THREAD, METHOD->constants(), index, size),
2005 SET_STACK_OBJECT(THREAD->vm_result(), -1);
2006 THREAD->set_vm_result(NULL);
2017 CALL_VM(InterpreterRuntime::multianewarray(THREAD, dimarray),
2019 SET_STACK_OBJECT(THREAD->vm_result(), -dims);
2020 THREAD->set_vm_result(NULL);
2034 CALL_VM(InterpreterRuntime::quicken_io_cc(THREAD), handle_exception);
2044 ResourceMark rm(THREAD);
2069 CALL_VM(InterpreterRuntime::quicken_io_cc(THREAD), handle_exception);
2122 CALL_VM(InterpreterRuntime::ldc(THREAD, wide), handle_exception);
2123 SET_STACK_OBJECT(THREAD->vm_result(), 0);
2124 THREAD->set_vm_result(NULL);
2157 CALL_VM(InterpreterRuntime::throw_IncompatibleClassChangeError(THREAD),
2177 CALL_VM(InterpreterRuntime::resolve_ldc(THREAD, (Bytecodes::Code) opcode),
2194 CALL_VM(InterpreterRuntime::throw_IncompatibleClassChangeError(THREAD),
2207 CALL_VM(InterpreterRuntime::resolve_invokedynamic(THREAD),
2239 CALL_VM(InterpreterRuntime::resolve_invokehandle(THREAD),
2271 CALL_VM(InterpreterRuntime::resolve_invoke(THREAD, (Bytecodes::Code)opcode),
2299 if (JvmtiExport::can_post_interpreter_events() && THREAD->is_interp_only_mode()) {
2337 if (JvmtiExport::can_post_interpreter_events() && THREAD->is_interp_only_mode()) {
2355 CALL_VM(InterpreterRuntime::resolve_invoke(THREAD, (Bytecodes::Code)opcode),
2405 if (JvmtiExport::can_post_interpreter_events() && THREAD->is_interp_only_mode()) {
2419 CALL_VM(InterpreterRuntime::newarray(THREAD, atype, size),
2421 SET_STACK_OBJECT(THREAD->vm_result(), -1);
2422 THREAD->set_vm_result(NULL);
2433 THREAD->set_pending_exception(except_oop, NULL, 0);
2486 original_bytecode = InterpreterRuntime::get_original_bytecode_at(THREAD,
2490 if (THREAD->has_pending_exception()) goto handle_exception;
2491 CALL_VM(InterpreterRuntime::_breakpoint(THREAD, METHOD, pc),
2510 if (!THREAD->has_pending_exception()) {
2525 HandleMarkCleaner __hmc(THREAD);
2526 Handle except_oop(THREAD, THREAD->pending_exception());
2529 HandleMark __hm(THREAD);
2531 THREAD->clear_pending_exception();
2536 CALL_VM(continuation_bci = (intptr_t)InterpreterRuntime::exception_handler_for_exception(THREAD, except_oop()),
2539 except_oop = (oop) THREAD->vm_result();
2540 THREAD->set_vm_result(NULL);
2553 continuation_bci, THREAD);
2566 THREAD);
2571 THREAD->set_pending_exception(except_oop(), NULL, 0);
2589 THREAD->clr_pop_frame_pending();
2591 THREAD->set_pop_frame_in_process();
2598 bool suppress_exit_event = THREAD->has_pending_exception() || suppress_error;
2599 Handle original_exception(THREAD, THREAD->pending_exception());
2600 Handle illegal_state_oop(THREAD, NULL);
2610 THREAD->clear_pending_exception();
2623 if (THREAD->do_not_unlock()) {
2628 THREAD->clr_do_not_unlock();
2666 HandleMark __hm(THREAD);
2667 CALL_VM_NOCHECK(InterpreterRuntime::monitorexit(THREAD, end));
2675 HandleMark __hm(THREAD);
2676 CALL_VM_NOCHECK(InterpreterRuntime::throw_illegal_monitor_state_exception(THREAD));
2678 assert(THREAD->has_pending_exception(), "Lost our exception!");
2679 illegal_state_oop = THREAD->pending_exception();
2680 THREAD->clear_pending_exception();
2692 HandleMark __hm(THREAD);
2693 CALL_VM_NOCHECK(InterpreterRuntime::throw_illegal_monitor_state_exception(THREAD));
2695 assert(THREAD->has_pending_exception(), "Lost our exception!");
2696 illegal_state_oop = THREAD->pending_exception();
2697 THREAD->clear_pending_exception();
2713 illegal_state_oop = THREAD->pending_exception();
2714 THREAD->clear_pending_exception();
2727 HandleMark __hm(THREAD);
2728 CALL_VM_NOCHECK(InterpreterRuntime::monitorexit(THREAD, base));
2730 if (THREAD->has_pending_exception()) {
2731 if (!suppress_error) illegal_state_oop = THREAD->pending_exception();
2732 THREAD->clear_pending_exception();
2769 if ( !suppress_exit_event && THREAD->is_interp_only_mode() ) {
2772 HandleMark __hm(THREAD);
2773 CALL_VM_NOCHECK(InterpreterRuntime::post_method_exit(THREAD));
2789 THREAD->set_pending_exception(illegal_state_oop(), NULL, 0);
2791 THREAD->set_pending_exception(original_exception(), NULL, 0);
2807 THREAD->popframe_preserve_args(in_ByteSize(METHOD->size_of_parameters() * wordSize),
2809 THREAD->set_popframe_condition_bit(JavaThread::popframe_force_deopt_reexecution_bit);
2811 THREAD->clr_pop_frame_in_process();