Java CPU Profiling and Memory Tracking

In the previous chapter, we learned how to use the JMS (Java Messaging Service) APIs to write asynchronous applications. In this chapter, we will learn about some of the techniques and tools used to profile Java applications. Enterprise applications tend to be quite complex and big. There could be situations where the application does not perform as per your requirements or expectations. For example, some of the operations performed in the application might be taking too long or consuming more memory than you expected. Furthermore, debugging performance and memory issues can sometimes become very difficult.

Fortunately, there are tools available, both in JDK and Eclipse, to help us debug these issues. ...

Get Java EE 8 Development with Eclipse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.