liveBook · Manning

Chapter 8: Using advanced visualization tools for profiled data

What you will learn in chapter 8 of Troubleshooting Java: Read, debug, and optimize JVM applications

This introduction describes call graphs and flame graphs as investigation views and explains why the chapter uses JProfiler alongside prior VisualVM techniques.

After this chapter you will be able to

What it builds on

Section by section

Introduction

This introduction describes call graphs and flame graphs as investigation views and explains why the chapter uses JProfiler alongside prior VisualVM techniques.

Key terms: call graphs, dependencies, flame graph, execution stack, execution time, latencies, VisualVM, JProfiler, licensed profiler, trial period

8.1 Detecting problems with JDBC connections

This section investigates a JDBC connection leak with JProfiler, locates its source, and verifies a fix.

Key terms: JDBC connection, DBMS, connection leak, sampling, exception stack trace, JProfiler, Quick Attach, instrumentation, JDBC profiling, Connections

8.2 Understanding the app’s code design using call graphs

This section explains how to generate and interpret JProfiler call graphs to understand an application’s execution and class design.

Key terms: call graph, execution stack trace, class design, CPU profiling, call tree, Show Call Graph, JProfiler, call chain, execution time, number of invocations

8.3 Using flame graphs to spot performance problems

This section explains how to create and read JProfiler flame graphs to identify potential latencies and use colorization to navigate complex graphs.

Key terms: flame graph, execution tree, execution stack, latencies, length, execution time, caller, layer, call tree, Analyze

8.4 Analyzing queries on NoSQL databases

This section demonstrates how to record and inspect a MongoDB application's database events using JProfiler.

Key terms: MongoDB, JProfiler, Databases, recording, endpoints, NoSQL, Cassandra, events, stack traces, call trees

8.5 Summary

Concepts explained in this chapter

← Chapter 7: Finding hidden issues using profiling techniques Chapter 9: Investigating locks in multithreaded architectures →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.