Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/codeBlob.cpp @ 1681:126ea7725993
6953477: Increase portability and flexibility of building Hotspot
Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
author | bobv |
---|---|
date | Tue, 03 Aug 2010 08:13:38 -0400 |
parents | 7139e81efd2d |
children | 3e8fbc61cee8 |
comparison
equal
deleted
inserted
replaced
1680:a64438a2b7e8 | 1681:126ea7725993 |
---|---|
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 |