These tools include
- jinfo pid : check Java command line options and system properties.
- jstack pid : print thread's stack the their status (e.g., blocking on some object). This is great for knowing what's going on inside the Java application at runtime. And there is no need to set up JVM specially for this purpse.
- jvisualvm : profile and monitor Java process. It seems JDK on Linux has jvisualvm by default. But you need to install jvisualvm separately on Windows.
- jconsole
- jmap
- jhat
No comments:
Post a Comment