profile_jfr_locks
Analyze lock contention from JFR: detect synchronized monitor blocks, thread parking, live wait chains, and deadlocks. Identify top N by frequency.
Instructions
Lock contention from JFR: synchronized monitors (JavaMonitorBlocked) and j.u.c parking (ThreadPark). Live wait chains: analyze_threads structured=true. Deadlocks: check_deadlock. Enable events via custom .jfc if missing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "profile_jfr_locks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | No | new_profile | |
| topN | No |