Mercurial > hg > truffle
diff src/share/vm/utilities/debug.cpp @ 4944:09d00c18e323
7145537: minor tweaks to LogEvents
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Wed, 15 Feb 2012 10:12:55 -0800 |
parents | aa3d708d67c4 |
children | 6c5b7a6becc8 |
line wrap: on
line diff
--- a/src/share/vm/utilities/debug.cpp Wed Feb 15 09:43:16 2012 +0100 +++ b/src/share/vm/utilities/debug.cpp Wed Feb 15 10:12:55 2012 -0800 @@ -600,6 +600,10 @@ 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 @@ -759,7 +763,7 @@ tty->print_cr("misc."); tty->print_cr(" flush() - flushes the log file"); - tty->print_cr(" events() - dump last 50 events"); + tty->print_cr(" events() - dump events from ring buffers"); tty->print_cr("compiler debugging");