hotspot/src/share/vm/code/codeBlob.cpp
changeset 6176 4d9030fe341f
parent 6065 26016b8ed869
child 6418 6671edbd230e
equal deleted inserted replaced
6175:86dbf3cacacc 6176:4d9030fe341f
   562 
   562 
   563 void CodeBlob::verify() {
   563 void CodeBlob::verify() {
   564   ShouldNotReachHere();
   564   ShouldNotReachHere();
   565 }
   565 }
   566 
   566 
   567 #ifndef PRODUCT
   567 void CodeBlob::print_on(outputStream* st) const {
   568 
   568   st->print_cr("[CodeBlob (" INTPTR_FORMAT ")]", this);
   569 void CodeBlob::print() const {
   569   st->print_cr("Framesize: %d", _frame_size);
   570   tty->print_cr("[CodeBlob (" INTPTR_FORMAT ")]", this);
   570 }
   571   tty->print_cr("Framesize: %d", _frame_size);
       
   572 }
       
   573 
       
   574 
   571 
   575 void CodeBlob::print_value_on(outputStream* st) const {
   572 void CodeBlob::print_value_on(outputStream* st) const {
   576   st->print_cr("[CodeBlob]");
   573   st->print_cr("[CodeBlob]");
   577 }
   574 }
   578 
   575 
   579 #endif
       
   580 
       
   581 void BufferBlob::verify() {
   576 void BufferBlob::verify() {
   582   // unimplemented
   577   // unimplemented
   583 }
   578 }
   584 
   579 
   585 #ifndef PRODUCT
   580 void BufferBlob::print_on(outputStream* st) const {
   586 
   581   CodeBlob::print_on(st);
   587 void BufferBlob::print() const {
   582   print_value_on(st);
   588   CodeBlob::print();
   583 }
   589   print_value_on(tty);
       
   590 }
       
   591 
       
   592 
   584 
   593 void BufferBlob::print_value_on(outputStream* st) const {
   585 void BufferBlob::print_value_on(outputStream* st) const {
   594   st->print_cr("BufferBlob (" INTPTR_FORMAT  ") used for %s", this, name());
   586   st->print_cr("BufferBlob (" INTPTR_FORMAT  ") used for %s", this, name());
   595 }
   587 }
   596 
   588 
   597 
       
   598 #endif
       
   599 
       
   600 void RuntimeStub::verify() {
   589 void RuntimeStub::verify() {
   601   // unimplemented
   590   // unimplemented
   602 }
   591 }
   603 
   592 
   604 #ifndef PRODUCT
   593 void RuntimeStub::print_on(outputStream* st) const {
   605 
   594   CodeBlob::print_on(st);
   606 void RuntimeStub::print() const {
   595   st->print("Runtime Stub (" INTPTR_FORMAT "): ", this);
   607   CodeBlob::print();
   596   st->print_cr(name());
   608   tty->print("Runtime Stub (" INTPTR_FORMAT "): ", this);
   597   Disassembler::decode((CodeBlob*)this, st);
   609   tty->print_cr(name());
   598 }
   610   Disassembler::decode((CodeBlob*)this);
       
   611 }
       
   612 
       
   613 
   599 
   614 void RuntimeStub::print_value_on(outputStream* st) const {
   600 void RuntimeStub::print_value_on(outputStream* st) const {
   615   st->print("RuntimeStub (" INTPTR_FORMAT "): ", this); st->print(name());
   601   st->print("RuntimeStub (" INTPTR_FORMAT "): ", this); st->print(name());
   616 }
   602 }
   617 
   603 
   618 #endif
       
   619 
       
   620 void SingletonBlob::verify() {
   604 void SingletonBlob::verify() {
   621   // unimplemented
   605   // unimplemented
   622 }
   606 }
   623 
   607 
   624 #ifndef PRODUCT
   608 void SingletonBlob::print_on(outputStream* st) const {
   625 
   609   CodeBlob::print_on(st);
   626 void SingletonBlob::print() const {
   610   st->print_cr(name());
   627   CodeBlob::print();
   611   Disassembler::decode((CodeBlob*)this, st);
   628   tty->print_cr(name());
   612 }
   629   Disassembler::decode((CodeBlob*)this);
       
   630 }
       
   631 
       
   632 
   613 
   633 void SingletonBlob::print_value_on(outputStream* st) const {
   614 void SingletonBlob::print_value_on(outputStream* st) const {
   634   st->print_cr(name());
   615   st->print_cr(name());
   635 }
   616 }
   636 
   617 
   637 void DeoptimizationBlob::print_value_on(outputStream* st) const {
   618 void DeoptimizationBlob::print_value_on(outputStream* st) const {
   638   st->print_cr("Deoptimization (frame not available)");
   619   st->print_cr("Deoptimization (frame not available)");
   639 }
   620 }
   640 
       
   641 #endif // PRODUCT