JFR event는 진단 가설에 필요한 시간·stack·field만 선택한다
모든 event와 stack trace를 항상 켜면 파일 크기와 overhead가 늘고 핵심 시간선이 잡음에 묻힙니다.
| 가설 | event 군 | 조정 |
|---|---|---|
| CPU hotspot | ExecutionSample | profile setting·stack |
| allocation | ObjectAllocationSample | rate·class |
| lock contention | JavaMonitorEnter/Wait | threshold·owner |
| GC pause | GarbageCollection·phase | cause·duration |
| I/O latency | Socket/File events | threshold·remote/path |
핵심: 증상별 기본 event에서 시작해 threshold와 stack을 필요한 범위만 확장합니다.