Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 2
    Thank you. This was exactly what I was looking for. However, with Thread.dump I get the following error java.lang.IllegalArgumentException: Unknown diagnostic command. I had to use Thread.print. Commented Jan 6, 2021 at 9:39
  • +100 THANK YOU VERY MUCH Commented Dec 11, 2021 at 5:23
  • still facing the issue on java 8 (1.8.0_192). Commented Apr 13, 2023 at 12:59