mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8367150: Add a header line to improve VMErrorCallback printing
Reviewed-by: stefank, ayang
This commit is contained in:
parent
0fbae8050b
commit
76e464bcd5
@ -1143,9 +1143,11 @@ void VMError::report(outputStream* st, bool _verbose) {
|
||||
}
|
||||
|
||||
STEP_IF("printing registered callbacks", _verbose && _thread != nullptr);
|
||||
size_t count = 0;
|
||||
for (VMErrorCallback* callback = _thread->_vm_error_callbacks;
|
||||
callback != nullptr;
|
||||
callback = callback->_next) {
|
||||
st->print_cr("VMErrorCallback %zu:", ++count);
|
||||
callback->call(st);
|
||||
st->cr();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user