@@ -58,7 +58,7 @@ void UnhandledOops::dump_oops(UnhandledOops *list) {
5858// You don't want to turn it on in compiled code here.
5959static Thread* unhandled_oop_print = NULL ;
6060
61- void UnhandledOops::register_unhandled_oop (oop* op, address pc ) {
61+ void UnhandledOops::register_unhandled_oop (oop* op) {
6262 if (!_thread->is_in_stack ((address)op))
6363 return ;
6464
@@ -67,7 +67,7 @@ void UnhandledOops::register_unhandled_oop(oop* op, address pc) {
6767 for (int i=0 ; i < _level; i++) tty->print (" " );
6868 tty->print_cr (" r " INTPTR_FORMAT, p2i (op));
6969 }
70- UnhandledOopEntry entry (op, pc );
70+ UnhandledOopEntry entry (op);
7171 _oop_list->push (entry);
7272}
7373
@@ -120,8 +120,7 @@ void UnhandledOops::clear_unhandled_oops() {
120120 // in the unhandled oop generator.
121121 if (!_thread->is_in_stack ((address)entry._oop_ptr )) {
122122 tty->print_cr (" oop_ptr is " INTPTR_FORMAT, p2i (entry._oop_ptr ));
123- tty->print_cr (" thread is " INTPTR_FORMAT " from pc " INTPTR_FORMAT,
124- p2i (_thread), p2i (entry._pc ));
123+ tty->print_cr (" thread is " INTPTR_FORMAT, p2i (_thread));
125124 assert (false , " heap is corrupted by the unhandled oop detector" );
126125 }
127126 // Set unhandled oops to a pattern that will crash distinctively
0 commit comments