equal
deleted
inserted
replaced
468 bc->print(); |
468 bc->print(); |
469 if (ProfileInterpreter) { |
469 if (ProfileInterpreter) { |
470 if (bci != InvocationEntryBci) { |
470 if (bci != InvocationEntryBci) { |
471 MethodData* mdo = m->method_data(); |
471 MethodData* mdo = m->method_data(); |
472 if (mdo != NULL) { |
472 if (mdo != NULL) { |
473 int count = mdo->bci_to_data(branch_bci)->as_JumpData()->taken(); |
473 ProfileData *pd = mdo->bci_to_data(branch_bci); |
474 tty->print_cr("back branch count = %d", count); |
474 if (pd == NULL) { |
|
475 tty->print_cr("back branch count = N/A (missing ProfileData)"); |
|
476 } else { |
|
477 tty->print_cr("back branch count = %d", pd->as_JumpData()->taken()); |
|
478 } |
475 } |
479 } |
476 } |
480 } |
477 } |
481 } |
478 } |
482 } |
479 } |
483 } |