< prev index next >

src/share/vm/interpreter/bytecodeInterpreter.cpp

Print this page
@  rev 7195 : 8076460: Zero fastdebug build does not compile.
|


3415 void
3416 BytecodeInterpreter::print() {
3417   tty->print_cr("thread: " INTPTR_FORMAT, (uintptr_t) this->_thread);
3418   tty->print_cr("bcp: " INTPTR_FORMAT, (uintptr_t) this->_bcp);
3419   tty->print_cr("locals: " INTPTR_FORMAT, (uintptr_t) this->_locals);
3420   tty->print_cr("constants: " INTPTR_FORMAT, (uintptr_t) this->_constants);
3421   {
3422     ResourceMark rm;
3423     char *method_name = _method->name_and_sig_as_C_string();
3424     tty->print_cr("method: " INTPTR_FORMAT "[ %s ]",  (uintptr_t) this->_method, method_name);
3425   }
3426   tty->print_cr("mdx: " INTPTR_FORMAT, (uintptr_t) this->_mdx);
3427   tty->print_cr("stack: " INTPTR_FORMAT, (uintptr_t) this->_stack);
3428   tty->print_cr("msg: %s", C_msg(this->_msg));
3429   tty->print_cr("result_to_call._callee: " INTPTR_FORMAT, (uintptr_t) this->_result._to_call._callee);
3430   tty->print_cr("result_to_call._callee_entry_point: " INTPTR_FORMAT, (uintptr_t) this->_result._to_call._callee_entry_point);
3431   tty->print_cr("result_to_call._bcp_advance: %d ", this->_result._to_call._bcp_advance);
3432   tty->print_cr("osr._osr_buf: " INTPTR_FORMAT, (uintptr_t) this->_result._osr._osr_buf);
3433   tty->print_cr("osr._osr_entry: " INTPTR_FORMAT, (uintptr_t) this->_result._osr._osr_entry);
3434   tty->print_cr("prev_link: " INTPTR_FORMAT, (uintptr_t) this->_prev_link);
3435   tty->print_cr("native_mirror: " INTPTR_FORMAT, (uintptr_t) this->_oop_temp);
3436   tty->print_cr("stack_base: " INTPTR_FORMAT, (uintptr_t) this->_stack_base);
3437   tty->print_cr("stack_limit: " INTPTR_FORMAT, (uintptr_t) this->_stack_limit);
3438   tty->print_cr("monitor_base: " INTPTR_FORMAT, (uintptr_t) this->_monitor_base);
3439 #ifdef SPARC
3440   tty->print_cr("last_Java_pc: " INTPTR_FORMAT, (uintptr_t) this->_last_Java_pc);
3441   tty->print_cr("frame_bottom: " INTPTR_FORMAT, (uintptr_t) this->_frame_bottom);
3442   tty->print_cr("&native_fresult: " INTPTR_FORMAT, (uintptr_t) &this->_native_fresult);
3443   tty->print_cr("native_lresult: " INTPTR_FORMAT, (uintptr_t) this->_native_lresult);
3444 #endif
3445 #if !defined(ZERO)
3446   tty->print_cr("last_Java_fp: " INTPTR_FORMAT, (uintptr_t) this->_last_Java_fp);
3447 #endif // !ZERO
3448   tty->print_cr("self_link: " INTPTR_FORMAT, (uintptr_t) this->_self_link);
3449 }
3450 
3451 extern "C" {
3452   void PI(uintptr_t arg) {
3453     ((BytecodeInterpreter*)arg)->print();
3454   }
3455 }


3415 void
3416 BytecodeInterpreter::print() {
3417   tty->print_cr("thread: " INTPTR_FORMAT, (uintptr_t) this->_thread);
3418   tty->print_cr("bcp: " INTPTR_FORMAT, (uintptr_t) this->_bcp);
3419   tty->print_cr("locals: " INTPTR_FORMAT, (uintptr_t) this->_locals);
3420   tty->print_cr("constants: " INTPTR_FORMAT, (uintptr_t) this->_constants);
3421   {
3422     ResourceMark rm;
3423     char *method_name = _method->name_and_sig_as_C_string();
3424     tty->print_cr("method: " INTPTR_FORMAT "[ %s ]",  (uintptr_t) this->_method, method_name);
3425   }
3426   tty->print_cr("mdx: " INTPTR_FORMAT, (uintptr_t) this->_mdx);
3427   tty->print_cr("stack: " INTPTR_FORMAT, (uintptr_t) this->_stack);
3428   tty->print_cr("msg: %s", C_msg(this->_msg));
3429   tty->print_cr("result_to_call._callee: " INTPTR_FORMAT, (uintptr_t) this->_result._to_call._callee);
3430   tty->print_cr("result_to_call._callee_entry_point: " INTPTR_FORMAT, (uintptr_t) this->_result._to_call._callee_entry_point);
3431   tty->print_cr("result_to_call._bcp_advance: %d ", this->_result._to_call._bcp_advance);
3432   tty->print_cr("osr._osr_buf: " INTPTR_FORMAT, (uintptr_t) this->_result._osr._osr_buf);
3433   tty->print_cr("osr._osr_entry: " INTPTR_FORMAT, (uintptr_t) this->_result._osr._osr_entry);
3434   tty->print_cr("prev_link: " INTPTR_FORMAT, (uintptr_t) this->_prev_link);
3435   tty->print_cr("native_mirror: " INTPTR_FORMAT, (uintptr_t) p2i(this->_oop_temp));
3436   tty->print_cr("stack_base: " INTPTR_FORMAT, (uintptr_t) this->_stack_base);
3437   tty->print_cr("stack_limit: " INTPTR_FORMAT, (uintptr_t) this->_stack_limit);
3438   tty->print_cr("monitor_base: " INTPTR_FORMAT, (uintptr_t) this->_monitor_base);
3439 #ifdef SPARC
3440   tty->print_cr("last_Java_pc: " INTPTR_FORMAT, (uintptr_t) this->_last_Java_pc);
3441   tty->print_cr("frame_bottom: " INTPTR_FORMAT, (uintptr_t) this->_frame_bottom);
3442   tty->print_cr("&native_fresult: " INTPTR_FORMAT, (uintptr_t) &this->_native_fresult);
3443   tty->print_cr("native_lresult: " INTPTR_FORMAT, (uintptr_t) this->_native_lresult);
3444 #endif
3445 #if !defined(ZERO)
3446   tty->print_cr("last_Java_fp: " INTPTR_FORMAT, (uintptr_t) this->_last_Java_fp);
3447 #endif // !ZERO
3448   tty->print_cr("self_link: " INTPTR_FORMAT, (uintptr_t) this->_self_link);
3449 }
3450 
3451 extern "C" {
3452   void PI(uintptr_t arg) {
3453     ((BytecodeInterpreter*)arg)->print();
3454   }
3455 }
< prev index next >