~/talk

Code Coverage Instrumentation

Talkat JVM Language Summit 2015 · 2015-08-10..08-12· [testing, java]
links:none on file
slides:none on file

Builds a live JVM agent (Sky Bar, revok, ning, dogmatic MVC examples) that instruments bytecode to count exact line executions and shows counts over websockets. Uses per-method local counters plus try/finally to avoid billions of call sites, falls back to static post-dominator analysis (quadratic and slow), and binds counters at bootstrap with invokeDynamic to a LongAdder for fast concurrent updates. Explores thread-local buffer hacks to batch commits, accepts eventual correctness, and adds differential snapshots for exploratory and comparative coverage in production.

AI-written summary · about

  1. 0:00Introduction
  2. 0:15Legal Slide
  3. 2:08Dec
  4. 9:26Code Coverage
  5. 35:09Skybar
  6. 35:31Stack Map Frames
  7. 36:22Java C Bug
  8. 38:39Whats Next
  9. 39:38exploratory coverage
  10. 39:51dewpost
  11. 41:04Comparative Coverage
  12. 42:14Dead Code
  13. 44:38More Questions
~/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.