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

NMT: thread count in Thread section of VM.native_memory output confusing with virtual threads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 22
    • hotspot
    • b11

      An application with a few thousand virtual threads seems this in the VM.native_memory output

      Thread (reserved=53MB, committed=6MB)
                   (thread #53)
                   (stack: reserved=53MB, committed=6MB)

      "thread #53" is a bit confusing here as it's very different to the number of j.l.Threads in use. Given the output is native memory usage then maybe the prefix for this line should say that it's the number of native thread stacks.

            gziemski Gerard Ziemski
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: