6 Identifying resource consumption problems using profiling techniques

This chapter covers

  • Evaluating resource consumption
  • Identifying issues with resource consumption

“And for you, Frodo Baggins, I give you the light of Eärendil, our most beloved star. May it be a light to you in dark places when all other lights go out.”

—Galadriel (Lord of the Rings, by J.R.R. Tolkien)

In this chapter, we start with using a profiler. We’ll continue the discussion in chapter 7. A profiler may not be as powerful as the light of Eärendil, but this tool is definitely a light in dark cases when all the other lights go out. A profiler is a powerful tool that has helped me to understand the root cause of an app’s strange behavior in many difficult situations. I ...

Get Troubleshooting Java 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.