load_snapshot
Loads .jps, .hprof, or .jfr snapshot files for analysis, with optional baseline comparison; check status, then query hotspots and call trees.
Instructions
Load an existing .jps, .hprof, or .jfr file for analysis. You must call check_status to check the loading progress and - after this returns 'data_ready' - retrieve data with the query tool. To compare two performance snapshots, load both in a single call: set filePath to the run to analyze and baselineFilePath to the baseline; the differences are then reported in the hotspots and call trees of that run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | The absolute path to the snapshot file | |
| baselineFilePath | No | An optional baseline snapshot for performance comparisons |