src/share/vm/interpreter/bytecodeTracer.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/interpreter

src/share/vm/interpreter/bytecodeTracer.cpp

Print this page
rev 5771 : 8031752: Failed speculative optimizations should be reattempted when root of compilation is different
Summary: support for speculative traps that keep track of the root of the compilation in which a trap occurs.
Reviewed-by:


 579       break;
 580 
 581     case Bytecodes::_wide:
 582       // length is zero not one, but printed with no more info.
 583       break;
 584 
 585     default:
 586       ShouldNotReachHere();
 587       break;
 588   }
 589 }
 590 
 591 
 592 void BytecodePrinter::bytecode_epilog(int bci, outputStream* st) {
 593   MethodData* mdo = method()->method_data();
 594   if (mdo != NULL) {
 595     ProfileData* data = mdo->bci_to_data(bci);
 596     if (data != NULL) {
 597       st->print("  %d", mdo->dp_to_di(data->dp()));
 598       st->fill_to(6);
 599       data->print_data_on(st);
 600     }
 601   }
 602 }
 603 #endif // PRODUCT


 579       break;
 580 
 581     case Bytecodes::_wide:
 582       // length is zero not one, but printed with no more info.
 583       break;
 584 
 585     default:
 586       ShouldNotReachHere();
 587       break;
 588   }
 589 }
 590 
 591 
 592 void BytecodePrinter::bytecode_epilog(int bci, outputStream* st) {
 593   MethodData* mdo = method()->method_data();
 594   if (mdo != NULL) {
 595     ProfileData* data = mdo->bci_to_data(bci);
 596     if (data != NULL) {
 597       st->print("  %d", mdo->dp_to_di(data->dp()));
 598       st->fill_to(6);
 599       data->print_data_on(st, mdo);
 600     }
 601   }
 602 }
 603 #endif // PRODUCT
src/share/vm/interpreter/bytecodeTracer.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File