4. The Serviceability Agent

Debugging and troubleshooting tools play an important role in the development of well-performing Java applications. There are many tools available to debug applications at the Java level, but very few are available for troubleshooting problems in Java applications at the JVM level. This chapter talks in detail about a powerful set of debugging tools called the Serviceability Agent (SA) that can help in debugging Java applications at the Java as well as the JVM level. The SA has the ability to debug live Java processes as well as core files, also called crash dump files.

In this chapter, we will take a look at what the Serviceability Agent is, where we can get it, and what we can do with its set of tools.

For building ...

Get Java® Performance Companion now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.