~/talk

Profilers are lying hobbitses

Talkat Joker 2017 · 2017-11-03..11-04· [java]
links:none on file
slides:none on file

Most Java profilers mislead because they sample only at safepoints so hotspots get blamed on the wrong lines and loops and safe point bias makes JVisualVM results unreliable. Better tools sample with signals but need the flag -XX:+DebugNonSafepoints enabled. Java Flight Recorder hides failed samples and native work, Honest‑Profiler reports failures, while Async-Profiler recovers samples and shows user/kernel stacks. Inlining and instruction skid confuse line‑level blame so use flame graphs plus per‑thread counts and expected sample math.

AI-written summary · about

  1. 0:00Introduction to profilers
  2. 2:31Why developers avoid profilers
  3. 6:09Safe point bias in profilers
  4. 11:32Better profilers than JVisualVM
  5. 15:06Java Flight Recorder limitations
  6. 19:22Debug flags for accurate profiling
  7. 20:27Flame graphs explained
  8. 24:03CPU instructions and profiling
  9. 33:36Instruction profiler accuracy
  10. 37:55Mapping instructions to code
  11. 40:21Method-level profiling issues
  12. 43:35Inlining and profiling confusion
  13. 45:44Method granularity problems
  14. 46:47Compilation versions over time
  15. 48:34Thread utilization in profiles
  16. 51:46Why profilers lie to us
  17. 52:06Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.