equal
deleted
inserted
replaced
2637 ResetNoHandleMark rnm; // Might be called from LEAF/QUICK ENTRY |
2637 ResetNoHandleMark rnm; // Might be called from LEAF/QUICK ENTRY |
2638 HandleMark hm(thread); |
2638 HandleMark hm(thread); |
2639 ResourceMark rm(thread); |
2639 ResourceMark rm(thread); |
2640 CodeBlob* cb = CodeCache::find_blob(pc); |
2640 CodeBlob* cb = CodeCache::find_blob(pc); |
2641 assert(cb != NULL && cb == this, ""); |
2641 assert(cb != NULL && cb == this, ""); |
|
2642 ttyLocker ttyl; |
2642 tty->print_cr("implicit exception happened at " INTPTR_FORMAT, p2i(pc)); |
2643 tty->print_cr("implicit exception happened at " INTPTR_FORMAT, p2i(pc)); |
2643 print(); |
2644 print(); |
2644 method()->print_codes(); |
2645 method()->print_codes(); |
2645 print_code(); |
2646 print_code(); |
2646 print_pcs(); |
2647 print_pcs(); |
2957 if (nul_chk_table_size() > 0) tty->print_cr(" nul chk table [" INTPTR_FORMAT "," INTPTR_FORMAT "] = %d", |
2958 if (nul_chk_table_size() > 0) tty->print_cr(" nul chk table [" INTPTR_FORMAT "," INTPTR_FORMAT "] = %d", |
2958 p2i(nul_chk_table_begin()), |
2959 p2i(nul_chk_table_begin()), |
2959 p2i(nul_chk_table_end()), |
2960 p2i(nul_chk_table_end()), |
2960 nul_chk_table_size()); |
2961 nul_chk_table_size()); |
2961 } |
2962 } |
2962 |
|
2963 void nmethod::print_code() { |
|
2964 HandleMark hm; |
|
2965 ResourceMark m; |
|
2966 Disassembler::decode(this); |
|
2967 } |
|
2968 |
|
2969 |
2963 |
2970 #ifndef PRODUCT |
2964 #ifndef PRODUCT |
2971 |
2965 |
2972 void nmethod::print_scopes() { |
2966 void nmethod::print_scopes() { |
2973 // Find the first pc desc for all scopes in the code and print it. |
2967 // Find the first pc desc for all scopes in the code and print it. |