Hottest methods (self time)
get_top_self_timeIdentify the hottest Java methods on a thread by self-time, excluding native idle frames to pinpoint performance bottlenecks in Minecraft server profiling.
Instructions
Top methods by self-time on a thread (default 'Server thread'). excludeNative drops idle/native wait frames to reveal the hottest Java methods.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"profileId": "<profileId>"
},
"name": "get_top_self_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | ||
| thread | No | Thread name (default 'Server thread'). | |
| profileId | Yes | The id returned by load_profile. | |
| excludeNative | No | Exclude native/idle frames (recommended). |