3385 void
3386 BytecodeInterpreter::print() {
3387 tty->print_cr("thread: " INTPTR_FORMAT, (uintptr_t) this->_thread);
3388 tty->print_cr("bcp: " INTPTR_FORMAT, (uintptr_t) this->_bcp);
3389 tty->print_cr("locals: " INTPTR_FORMAT, (uintptr_t) this->_locals);
3390 tty->print_cr("constants: " INTPTR_FORMAT, (uintptr_t) this->_constants);
3391 {
3392 ResourceMark rm;
3393 char *method_name = _method->name_and_sig_as_C_string();
3394 tty->print_cr("method: " INTPTR_FORMAT "[ %s ]", (uintptr_t) this->_method, method_name);
3395 }
3396 tty->print_cr("mdx: " INTPTR_FORMAT, (uintptr_t) this->_mdx);
3397 tty->print_cr("stack: " INTPTR_FORMAT, (uintptr_t) this->_stack);
3398 tty->print_cr("msg: %s", C_msg(this->_msg));
3399 tty->print_cr("result_to_call._callee: " INTPTR_FORMAT, (uintptr_t) this->_result._to_call._callee);
3400 tty->print_cr("result_to_call._callee_entry_point: " INTPTR_FORMAT, (uintptr_t) this->_result._to_call._callee_entry_point);
3401 tty->print_cr("result_to_call._bcp_advance: %d ", this->_result._to_call._bcp_advance);
3402 tty->print_cr("osr._osr_buf: " INTPTR_FORMAT, (uintptr_t) this->_result._osr._osr_buf);
3403 tty->print_cr("osr._osr_entry: " INTPTR_FORMAT, (uintptr_t) this->_result._osr._osr_entry);
3404 tty->print_cr("prev_link: " INTPTR_FORMAT, (uintptr_t) this->_prev_link);
3405 tty->print_cr("native_mirror: " INTPTR_FORMAT, (uintptr_t) this->_oop_temp);
3406 tty->print_cr("stack_base: " INTPTR_FORMAT, (uintptr_t) this->_stack_base);
3407 tty->print_cr("stack_limit: " INTPTR_FORMAT, (uintptr_t) this->_stack_limit);
3408 tty->print_cr("monitor_base: " INTPTR_FORMAT, (uintptr_t) this->_monitor_base);
3409 #ifdef SPARC
3410 tty->print_cr("last_Java_pc: " INTPTR_FORMAT, (uintptr_t) this->_last_Java_pc);
3411 tty->print_cr("frame_bottom: " INTPTR_FORMAT, (uintptr_t) this->_frame_bottom);
3412 tty->print_cr("&native_fresult: " INTPTR_FORMAT, (uintptr_t) &this->_native_fresult);
3413 tty->print_cr("native_lresult: " INTPTR_FORMAT, (uintptr_t) this->_native_lresult);
3414 #endif
3415 #if !defined(ZERO) && defined(PPC)
3416 tty->print_cr("last_Java_fp: " INTPTR_FORMAT, (uintptr_t) this->_last_Java_fp);
3417 #endif // !ZERO
3418 tty->print_cr("self_link: " INTPTR_FORMAT, (uintptr_t) this->_self_link);
3419 }
3420
3421 extern "C" {
3422 void PI(uintptr_t arg) {
3423 ((BytecodeInterpreter*)arg)->print();
3424 }
3425 }
|
3385 void
3386 BytecodeInterpreter::print() {
3387 tty->print_cr("thread: " INTPTR_FORMAT, (uintptr_t) this->_thread);
3388 tty->print_cr("bcp: " INTPTR_FORMAT, (uintptr_t) this->_bcp);
3389 tty->print_cr("locals: " INTPTR_FORMAT, (uintptr_t) this->_locals);
3390 tty->print_cr("constants: " INTPTR_FORMAT, (uintptr_t) this->_constants);
3391 {
3392 ResourceMark rm;
3393 char *method_name = _method->name_and_sig_as_C_string();
3394 tty->print_cr("method: " INTPTR_FORMAT "[ %s ]", (uintptr_t) this->_method, method_name);
3395 }
3396 tty->print_cr("mdx: " INTPTR_FORMAT, (uintptr_t) this->_mdx);
3397 tty->print_cr("stack: " INTPTR_FORMAT, (uintptr_t) this->_stack);
3398 tty->print_cr("msg: %s", C_msg(this->_msg));
3399 tty->print_cr("result_to_call._callee: " INTPTR_FORMAT, (uintptr_t) this->_result._to_call._callee);
3400 tty->print_cr("result_to_call._callee_entry_point: " INTPTR_FORMAT, (uintptr_t) this->_result._to_call._callee_entry_point);
3401 tty->print_cr("result_to_call._bcp_advance: %d ", this->_result._to_call._bcp_advance);
3402 tty->print_cr("osr._osr_buf: " INTPTR_FORMAT, (uintptr_t) this->_result._osr._osr_buf);
3403 tty->print_cr("osr._osr_entry: " INTPTR_FORMAT, (uintptr_t) this->_result._osr._osr_entry);
3404 tty->print_cr("prev_link: " INTPTR_FORMAT, (uintptr_t) this->_prev_link);
3405 tty->print_cr("native_mirror: " INTPTR_FORMAT, (uintptr_t) p2i(this->_oop_temp));
3406 tty->print_cr("stack_base: " INTPTR_FORMAT, (uintptr_t) this->_stack_base);
3407 tty->print_cr("stack_limit: " INTPTR_FORMAT, (uintptr_t) this->_stack_limit);
3408 tty->print_cr("monitor_base: " INTPTR_FORMAT, (uintptr_t) this->_monitor_base);
3409 #ifdef SPARC
3410 tty->print_cr("last_Java_pc: " INTPTR_FORMAT, (uintptr_t) this->_last_Java_pc);
3411 tty->print_cr("frame_bottom: " INTPTR_FORMAT, (uintptr_t) this->_frame_bottom);
3412 tty->print_cr("&native_fresult: " INTPTR_FORMAT, (uintptr_t) &this->_native_fresult);
3413 tty->print_cr("native_lresult: " INTPTR_FORMAT, (uintptr_t) this->_native_lresult);
3414 #endif
3415 #if !defined(ZERO) && defined(PPC)
3416 tty->print_cr("last_Java_fp: " INTPTR_FORMAT, (uintptr_t) this->_last_Java_fp);
3417 #endif // !ZERO
3418 tty->print_cr("self_link: " INTPTR_FORMAT, (uintptr_t) this->_self_link);
3419 }
3420
3421 extern "C" {
3422 void PI(uintptr_t arg) {
3423 ((BytecodeInterpreter*)arg)->print();
3424 }
3425 }
|