Open GalateaRaj opened 7 years ago
Problem to solve: you have a running JVM and you suddenly see throughput falling. We want a tool to see what the threads in your JVM are doing so that we can do debugging.
JTop (the tool linked above) is likely no longer the preferred tool, so this ticket is to look into which tool would be most relevant these days.
The most frequently mentioned tool I found for thread monitoring appears to be visualvm which is basically a successor to jconsole (and can in fact run old jconsole plugins like jtop). VisualVM by default allows a user to see all the threads being used by an application and you can get breakdowns of memory or cpu resources used by each thread. Additionally there is a plugin that can be installed through VisualVM that even allows for grabbing the stack trace of a running thread at any point in time.
there is a pr open for adding details about visualvm to the readme.
Home page for VisualVM: https://visualvm.github.io/ and the actual source: https://github.com/oracle/visualvm
And update readme to describe how to use it