After you load up your demo app, run JPS and note the returned vmid.
加载演示应用程序后,运行jps并注意返回的vmid。
Running jstack with the VMID of the desired process will generate a stack dump.
采用期望进程的VMID运行jstack会产生一个堆转储。
The "VMID" identifier is not always the same as the native operating system process identifier ("pid"), which is why we need the JDK's jps utility.
“VMID”识别器与本地操作系统进程识别器(“pid”)并不总是相同的,这就是我们需要JDKjps实用程序的原因。
The "VMID" identifier is not always the same as the native operating system process identifier ("pid"), which is why we need the JDK's jps utility.
“VMID”识别器与本地操作系统进程识别器(“pid”)并不总是相同的,这就是我们需要JDKjps实用程序的原因。
应用推荐