Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This articles explains how to create a thread dump series, which can be a useful tool to investigate unexpected behaviourA thread dump gives insights into the state of a Java application at one point in time. It provides an overview of all active threads for the moment the snapshot is taken.

To be more useful for analysis and give a better representation of what is going on within an application it is common to create multiple of these snapshots at regular intervals. Ten dumps, one every 10 seconds could be an example of such a scheme.

Instructions

On a virtual machine

...