mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8298081: DiagnoseSyncOnValueBasedClasses doesn't report useful information for virtual threads
Reviewed-by: gziemski, pchilanomate
This commit is contained in:
parent
2bb727c4ea
commit
a3364612f7
4 changed files with 51 additions and 6 deletions
|
@ -1758,6 +1758,14 @@ void JavaThread::print_vthread_stack_on(outputStream* st) {
|
|||
}
|
||||
}
|
||||
|
||||
void JavaThread::print_active_stack_on(outputStream* st) {
|
||||
if (is_vthread_mounted()) {
|
||||
print_vthread_stack_on(st);
|
||||
} else {
|
||||
print_stack_on(st);
|
||||
}
|
||||
}
|
||||
|
||||
#if INCLUDE_JVMTI
|
||||
// Rebind JVMTI thread state from carrier to virtual or from virtual to carrier.
|
||||
JvmtiThreadState* JavaThread::rebind_to_jvmti_thread_state_of(oop thread_oop) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue