Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8361913

Thread.dump_to_file is not protected from mount/unmount

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 26
    • 25
    • core-svc
    • None
    • generic
    • generic

      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.

            amenkov Alex Menkov
            amenkov Alex Menkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: