1.1 --- a/src/share/vm/utilities/debug.cpp Wed Feb 15 09:43:16 2012 +0100 1.2 +++ b/src/share/vm/utilities/debug.cpp Wed Feb 15 10:12:55 2012 -0800 1.3 @@ -600,6 +600,10 @@ 1.4 tty->flush(); 1.5 } 1.6 1.7 +extern "C" void events() { 1.8 + Command c("events"); 1.9 + Events::print(); 1.10 +} 1.11 1.12 // Given a heap address that was valid before the most recent GC, if 1.13 // the oop that used to contain it is still live, prints the new 1.14 @@ -759,7 +763,7 @@ 1.15 1.16 tty->print_cr("misc."); 1.17 tty->print_cr(" flush() - flushes the log file"); 1.18 - tty->print_cr(" events() - dump last 50 events"); 1.19 + tty->print_cr(" events() - dump events from ring buffers"); 1.20 1.21 1.22 tty->print_cr("compiler debugging");