8150689: Thread dump report "waiting to re-lock in wait()" shows incorrectly

"waiting to re-lock in wait()" is now shown in the frame where relocking is taking place

Reviewed-by: dholmes, dcubed
This commit is contained in:
Patricio Chilano Mateo 2018-11-27 13:39:57 -05:00
parent 5d1cc7fc01
commit 803b9a675b
2 changed files with 4 additions and 22 deletions

View file

@ -2943,7 +2943,6 @@ void JavaThread::print_on(outputStream *st, bool print_extended_info) const {
st->print_cr(" java.lang.Thread.State: %s", java_lang_Thread::thread_status_name(thread_oop));
}
#ifndef PRODUCT
print_thread_state_on(st);
_safepoint_state->print_on(st);
#endif // PRODUCT
if (is_Compiler_thread()) {