jcmd Thread.dump_to_file commend and HotSpotDiagnosticMXBean.dumpThreads are implemented by ThreadSnapshotFactory::get_thread_snapshot().
It uses JvmtiVTMSTransitionDisabler to disable mount/unmount of virtual threads.
But JvmtiVTMSTransitionDisabler works only when some agent is loaded in the VM.
It uses JvmtiVTMSTransitionDisabler to disable mount/unmount of virtual threads.
But JvmtiVTMSTransitionDisabler works only when some agent is loaded in the VM.
- relates to
-
JDK-8361103 java_lang_Thread::async_get_stack_trace does not properly protect JavaThread
-
- Open
-
-
JDK-8364343 assert(!is_empty()) in stackChunkOopDesc::sender when dumping threads
-
- Open
-
-
JDK-8364314 java_lang_Thread::get_thread_status fails assert(base != nullptr) failed: Invalid base
-
- In Progress
-
-
JDK-8361912 ThreadsListHandle::cv_internal_thread_to_JavaThread does not deal with a virtual thread's carrier thread
-
- Resolved
-
-
JDK-8357650 ThreadSnapshot to take snapshot of thread for thread dumps
-
- Resolved
-