mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
7145537: minor tweaks to LogEvents
Reviewed-by: kvn, twisti
This commit is contained in:
parent
e6f3ba89ec
commit
520f6fcc87
10 changed files with 47 additions and 42 deletions
|
@ -600,6 +600,10 @@ extern "C" void 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
|
||||
|
@ -759,7 +763,7 @@ void help() {
|
|||
|
||||
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue