mat_threadlocals
Inspect ThreadLocal instances grouped by value class or thread to identify thread-local leaks in heap dumps.
Instructions
Inspect thread locals grouped by valueClass (default) or thread. Useful for finding thread-local leaks. / 按 valueClass(默认)或 thread 分组查看 ThreadLocal,常用于发现 ThreadLocal 泄漏。
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": {
"report_id": "<report_id>"
},
"name": "mat_threadlocals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupBy | No | valueClass | |
| report_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |