Gunnar Morling 12/17/2023

Tracking Java Native Memory With JDK Flight Recorder

Read Original

This technical article details the integration of Native Memory Tracking (NMT) with JDK Flight Recorder (JFR) since Java 20. It explains how JFR's new event types enable continuous monitoring of native memory areas like class metadata and thread stacks, provides a code example using direct byte buffers and the Foreign Memory API, and discusses benefits for performance analysis and system monitoring.

Tracking Java Native Memory With JDK Flight Recorder

Comments

No comments yet

Be the first to share your thoughts!