Java serviceability, observability tools such as jstack, jmap,
jstatare run asynchronously. i.e., these tools can be "attached" to
running Java program at any...
Java serviceability, observability tools such as jstack, jmap,
jstatare run asynchronously. i.e., these tools can be "attached" to
running Java program at any time (without requiring any VM event).
But sometimes, you may want to run these tools on specific
"event(s)". For example,you can use -XX:OnError flag to run any of
these tools at the time of fatal error exit. Forexample, you can
create heapdump on exit using jmap -F -dump command. What
aboutother events such as gc...
Java serviceability, observability tools such as jstack, jmap,
jstatare run asynchronously. i.e., these tools can be "attached" to
running Java program at any time (without requiring any VM...