gc_class_stats
Analyze class loader and metaspace statistics of a Java process via jcmd. Works with JDK 21+; older JDKs return an error.
Instructions
jcmd GC.class_stats (class loader / metaspace style stats where supported—often JDK 21+). On older JDK returns error hint; use heap_info or heap_histogram instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes |