equal
deleted
inserted
replaced
598 extern "C" void flush() { |
598 extern "C" void flush() { |
599 Command c("flush"); |
599 Command c("flush"); |
600 tty->flush(); |
600 tty->flush(); |
601 } |
601 } |
602 |
602 |
|
603 extern "C" void events() { |
|
604 Command c("events"); |
|
605 Events::print(); |
|
606 } |
603 |
607 |
604 // Given a heap address that was valid before the most recent GC, if |
608 // Given a heap address that was valid before the most recent GC, if |
605 // the oop that used to contain it is still live, prints the new |
609 // the oop that used to contain it is still live, prints the new |
606 // location of the oop and the address. Useful for tracking down |
610 // location of the oop and the address. Useful for tracking down |
607 // certain kinds of naked oop and oop map bugs. |
611 // certain kinds of naked oop and oop map bugs. |
757 tty->print_cr(" findm(intptr_t pc) - finds methodOop"); |
761 tty->print_cr(" findm(intptr_t pc) - finds methodOop"); |
758 tty->print_cr(" find(intptr_t x) - finds & prints nmethod/stub/bytecode/oop based on pointer into it"); |
762 tty->print_cr(" find(intptr_t x) - finds & prints nmethod/stub/bytecode/oop based on pointer into it"); |
759 |
763 |
760 tty->print_cr("misc."); |
764 tty->print_cr("misc."); |
761 tty->print_cr(" flush() - flushes the log file"); |
765 tty->print_cr(" flush() - flushes the log file"); |
762 tty->print_cr(" events() - dump last 50 events"); |
766 tty->print_cr(" events() - dump events from ring buffers"); |
763 |
767 |
764 |
768 |
765 tty->print_cr("compiler debugging"); |
769 tty->print_cr("compiler debugging"); |
766 tty->print_cr(" debug() - to set things up for compiler debugging"); |
770 tty->print_cr(" debug() - to set things up for compiler debugging"); |
767 tty->print_cr(" ndebug() - undo debug"); |
771 tty->print_cr(" ndebug() - undo debug"); |