Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8337199 Add jcmd Thread.vthread_scheduler and Thread.vthread_pollers diagnostic commands
  3. JDK-8345361

Release Note: New jcmd commands Thread.vthread_scheduler and Thread.vthread_pollers

XMLWordPrintable

      Two commands have been added to the `jcmd` command line tool to print information that may be useful when diagnosing issues with virtual threads.

      `jcmd <pid> Thread.vthread_scheduler` prints the virtual thread scheduler, the target parallelism, number of threads, and other useful counters. The output also includes the delayed task schedulers that support virtual threads doing timed operations.

      `jcmd <pid> Thread.vthread_pollers` prints the I/O pollers that support virtual threads doing blocking network I/O operations.

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: