O'Reilly logo

Java EE 8 High Performance by Romain Manni-Bucau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required