Thread.print

If you execute the Thread.print command, the output will look like the following:

$ jcmd 7577 Thread.print7577:2017-09-10 16:39:12Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.144-b01 mixed mode):"....." #xxx [daemon] prio=xxx os_prio=xxx tix=0x.... nid=0x.... [condition]  java.lang.Thread.State: XXXXX  at ......  at ......  ..."....." #xxx [daemon] prio=xxx os_prio=xxx tix=0x.... nid=0x.... [condition]  java.lang.Thread.State: XXXXX  at ......  at ......  ..."....." #xxx [daemon] prio=xxx os_prio=xxx tix=0x.... nid=0x.... [condition]  java.lang.Thread.State: XXXXX  at ......  at ......  ...

Since reproducing the full output of this command will take the entire chapter, it has been replaced by a skeleton of sorts of the thread stacks. ...

Get Java EE 8 High Performance now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.