Skip to content

Overview of Debugging Tools

2016-10-13 Discuss


Tool Use Cases
Java Flight Recorder
  • first choice for GC allocation pauses and heap pressure
  • first choice for thread contention
Java Flame Graphs
  • first choice for CPU contention
VisualVM
  • second choice for CPU contention
YourKit Profiler
  • third choice for CPU contention, other options are more accessible
  • not as good as flight recorder for heap pressure
Java Micro Harness (JMH)
  • first choice for writing tiny benchmarks to evaluate code samples