mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +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
|
@ -1303,22 +1303,22 @@ void Universe::print_heap_at_SIGBREAK() {
|
|||
}
|
||||
}
|
||||
|
||||
void Universe::print_heap_before_gc(outputStream* st) {
|
||||
void Universe::print_heap_before_gc(outputStream* st, bool ignore_extended) {
|
||||
st->print_cr("{Heap before GC invocations=%u (full %u):",
|
||||
heap()->total_collections(),
|
||||
heap()->total_full_collections());
|
||||
if (!PrintHeapAtGCExtended) {
|
||||
if (!PrintHeapAtGCExtended || ignore_extended) {
|
||||
heap()->print_on(st);
|
||||
} else {
|
||||
heap()->print_extended_on(st);
|
||||
}
|
||||
}
|
||||
|
||||
void Universe::print_heap_after_gc(outputStream* st) {
|
||||
void Universe::print_heap_after_gc(outputStream* st, bool ignore_extended) {
|
||||
st->print_cr("Heap after GC invocations=%u (full %u):",
|
||||
heap()->total_collections(),
|
||||
heap()->total_full_collections());
|
||||
if (!PrintHeapAtGCExtended) {
|
||||
if (!PrintHeapAtGCExtended || ignore_extended) {
|
||||
heap()->print_on(st);
|
||||
} else {
|
||||
heap()->print_extended_on(st);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue