src/share/vm/utilities/debug.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7145537 Cdiff src/share/vm/utilities/debug.cpp

src/share/vm/utilities/debug.cpp

Print this page

        

*** 598,607 **** --- 598,611 ---- extern "C" void flush() { Command c("flush"); tty->flush(); } + extern "C" void events() { + Command c("events"); + Events::print(); + } // Given a heap address that was valid before the most recent GC, if // the oop that used to contain it is still live, prints the new // location of the oop and the address. Useful for tracking down // certain kinds of naked oop and oop map bugs.
*** 757,767 **** tty->print_cr(" findm(intptr_t pc) - finds methodOop"); tty->print_cr(" find(intptr_t x) - finds & prints nmethod/stub/bytecode/oop based on pointer into it"); tty->print_cr("misc."); tty->print_cr(" flush() - flushes the log file"); ! tty->print_cr(" events() - dump last 50 events"); tty->print_cr("compiler debugging"); tty->print_cr(" debug() - to set things up for compiler debugging"); tty->print_cr(" ndebug() - undo debug"); --- 761,771 ---- tty->print_cr(" findm(intptr_t pc) - finds methodOop"); tty->print_cr(" find(intptr_t x) - finds & prints nmethod/stub/bytecode/oop based on pointer into it"); tty->print_cr("misc."); tty->print_cr(" flush() - flushes the log file"); ! tty->print_cr(" events() - dump events from ring buffers"); tty->print_cr("compiler debugging"); tty->print_cr(" debug() - to set things up for compiler debugging"); tty->print_cr(" ndebug() - undo debug");
src/share/vm/utilities/debug.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File