What does the nid value mean in a dump of a java thread?

For example, you have a dump like this:

"MyThread" prio = 1 tid = 0x0850c9f8 nid = 0x1baf runnable

What does nind mean here? Is this the hex value of pid or lwpid?

+4
source share
2 answers

I think this is a thread id (i.e. a process id).

+4
source

nid Native Thread ID: Important information, since this native thread identifier allows you to correlate, for example, which threads from the point of view of the OS use most processors in your JVM, etc.

+4
source

Source: https://habr.com/ru/post/1387055/


All Articles