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

Virtual Threads / Viewing Virtual Threads in jcmd Thread Dumps section isn't correct

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 25
    • 21
    • docs
    • None
    • In Review

      This docs page:

      https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html#GUID-DC4306FC-D6C1-4BCC-AECE-48C32C1A8DAA

      has this sentence:

      "The jcmd thread dump lists virtual threads that are blocked in network I/O operations and virtual threads that are created by the ExecutorService interface."

      This sentence dates from JDK 19 when virtual threads were in preview. Since JDK 21, the thread dump contains all threads. The sentence can be removed.

            rgallard Raymond Gallardo
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: