~/talk

The Dark Arts of Performance Tuning

Talkat JavaDay 2013 · on Saturday, 2013-10-19· [java]
slides:none on file

Shows a concrete workflow that finds and fixes real bottlenecks using only free tools: measure CPU and kernel time with OS perf monitor, inspect threads and take dumps with jvisualvm, identify a synchronized cache causing context-switching and replace it with ConcurrentHashMap to drop a 6.1s operation to 2.8s, then replace string-keyed cache with a compact PersonKey to reach ~590ms. Uses GC logs + GCViewer and heap analysis with MAT (Eclipse Memory Analyzer) to find a WeakHashMap leak.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 5:08Why performance tuning matters
  3. 14:39Live demo setup and tools
  4. 21:46Identifying CPU bottlenecks
  5. 27:18Memory profiling and GC analysis
  6. 38:27Debugging memory leaks
  7. 49:54APM tools and further reading
  8. 52:19Q&A session
~/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.