mat-class2gc
Find GC root paths for class instances.
mat-class2gc class=CLASS [sample=SAMPLE] FILE_PATH
- class=CLASS
- Fully qualified class name to analyze (e.g., com.google.re2j.Inst)
- sample=SAMPLE
- Maximum number of instances to sample (default: 10)
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| path | String | GC root path | Tree-formatted path from GC root to instance |
| count | Integer | Count | Number of instances using this path |
| percent | Double | Percentage | Percentage of total paths |