Category: jprofiler

Profiling Java applications in Docker containers

This screencast shows how to use JProfiler to profile a JVM that is running in a Docker container. JProfiler has dedicated zero-configuration support for attaching to local and remote Docker containers and both cases are shown in the screencast.

Using sunburst diagrams for understanding Java memory consumption

This screencast shows how to use the sunburst diagram in the biggest objects view of JProfiler’s heap walker to visualize memory consumption of your Java application.

The sunburst diagrams shows a ring with the biggest objects and multiple reference levels of dominated objects in successive outer rings. See the documentation to read about the dominator analysis and the biggest objects view.

In the screencast, a memory snapshot of the eclipse IDE is analyzed and the class loader and classes groupings of the biggest object view are shown.

Using flame graphs when profiling Java applications

Flame graphs are a great way to get an overview of the entire call tree and to visualize performance characteristics. This screen cast shows how the jclasslib bytecode viewer is profiled. A class file is opened and the parsing of the class file is analyzed with the flame graph.

Profiling a Netty server

JProfiler’s support for Netty covers many modern web frameworks that use Netty under hood, like Vert.x, Micronaut, Ktor or Spring WebFlux.

This screen cast shows how to profile a Netty server with customized URL splitting and gives an overview of the HTTP server probe.

https://youtu.be/eXSl_LS-_Cc

Inlining asynchronous executions in JProfiler’s call tree

This screencast shows how to use the “Inline async executions” call tree analysis to get a unified call tree across thread boundaries

This is made possible by JProfiler “request tracking” feature. In the screencast, a simple example with Spring WebFlux is profiled that creates permutations of a specified word.

Most reactive stream frameworks use the executor service JDK API for asynchronous execution. JProfiler can track tasks that are submitted to an executor service and stitch them back into a single call tree when the “Inline async executions” call tree analysis is invoked. This is essential when analyzing performance bottlenecks in asynchronous programming models.

Profiling HTTP calls and tracking them between JVMs

This screen cast shows how to profile HTTP calls with the HTTP client probe and use the HTTP remote request tracking feature to follow HTTP calls from one JVM into another.

A simple Spring Boot project with two application is profiled: A gateway server that serves static files and proxies API request to a second server that handles REST calls.

You can see how JProfiler tracks calls from the browser including the JavaScript stack trace through the gateway server into the REST server. The HTTP client probe with its various views is shown and its profiling settings are discussed.

Working with merged reference trees in JProfiler

This screen cast shows how to analyze memory leaks in Java applications or reduce memory consumption in general if the objects of interest are not all referenced in the same way.

Analyzing a single object and finding the path to a garbage collector root is not enough in that case and the merged incoming references view as well as the merged dominating reference view are helpful in finding out about the distribution of the actual incoming references and how to make a maximum of objects eligible for garbage collection.

How to configure a script probe in JProfiler

This screen cast shows how to configure a script probe for a Java profiling session in JProfiler.

Script probes are custom probes that intercept selected methods and construct payload strings with Java scripts that are entered directly in the JProfiler UI.

You then get a payload call tree, payload hot spots with back traces, telemetries for probe event counts and event durations as well as the ability to inspect single events with their threads and stack traces.

Development Sneak Peek: Dark Mode and HiDPI

A system-wide dark mode is coming to both macOS and Windows. That’s why we’re working on a dark mode for JProfiler as well. Based on the excellent Darcula Look and Feel from our friends at JetBrains, JProfiler will soon fit into this new world of dark background colors:

(more…)