mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6885041: G1: inconsistent thread dump
When G1 is enabled, thread dumps are inconsistent as the info for some of the G1 threads is not formatted properly. Reviewed-by: ysr, johnc
This commit is contained in:
parent
e379759e1b
commit
99a529bb86
11 changed files with 55 additions and 33 deletions
|
@ -157,10 +157,14 @@ void ConcurrentZFThread::stop() {
|
|||
}
|
||||
}
|
||||
|
||||
void ConcurrentZFThread::print() {
|
||||
gclog_or_tty->print("\"Concurrent ZF Thread\" ");
|
||||
Thread::print();
|
||||
gclog_or_tty->cr();
|
||||
void ConcurrentZFThread::print() const {
|
||||
print_on(tty);
|
||||
}
|
||||
|
||||
void ConcurrentZFThread::print_on(outputStream* st) const {
|
||||
st->print("\"G1 Concurrent Zero-Fill Thread\" ");
|
||||
Thread::print_on(st);
|
||||
st->cr();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue