Debugging and Diagnostics
Native Image provides utilities for debugging and inspecting the produced binary:
- For debugging produced binaries and obtaining performance profile statistics, see Debug Information.
- For generating heap dumps, see Heap Dump Support.
- For JFR events recording, see JDK Flight Recorder (JFR).
- For checking which methods were included in a native executable or a shared library, use the Inspection Tool.
- For an overview of static analysis results, see Static Analysis Reports.
- For performance analysis, see Linux Perf Profiler Support in Native Image.
- For an overall insight regarding build phases and the contents of a native executable, use Build Reports.
- For native memory tracking, see Native Memory Tracking (NMT).