~/talk

Profilers Are Lying Hobbitses

Talkat JavaDay Ukraine 2017 · 2017-11-04..11-05· [java]
links:none on file
slides:none on file

Claim: common Java profilers mislead because of sampling mechanics and JIT transformations. VisualVM-style profilers show safepoint bias that pins samples to arbitrary loop entry lines; Mission Control (JFR) uses JFR cycles-based sampling and can hide missed samples and native work; async/async-profiler exposes native and GC cost (example: GC taking ~50% of samples), while instruction-level profiles misplace blame near expensive ops like division and suffer from inlining and compiled-version mixing. Use multiple profilers, enable debug info, check sample counts and per-thread breakdowns before optimizing.

AI-written summary · about

  1. 0:00Introduction to profilers
  2. 2:15How sampling profilers work
  3. 5:26Safepoint bias in profilers
  4. 11:28Java Mission Control overview
  5. 18:14Flame graphs and JFR comparison
  6. 24:37Instruction-level profiling
  7. 32:10Accuracy of instruction profilers
  8. 37:33Mapping assembly to code
  9. 41:08Inlining and profiling issues
  10. 45:51Thread utilization in profiles
  11. 48:27Using profilers effectively
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.