~/talk

The definite guide to Java agents

Talkat JPoint 2019 · 2019-04-05..04-06· [java, compilers-and-language-design]
slides:none on file

Explains how to build real Java agents using Byte Buddy and the Instrumentation API, showing exact premain/agentmain bootstrapping, how to register transformers, and when to use retransformClasses. Demonstrates templates-as-classes instead of bytecode, compares runtime cost to ASM and AspectJ, highlights limits like final classes/methods that cannot be redefined, and shows performance numbers for monitoring hooks and GC pressure when instrumenting millions of objects so you can judge feasibility.

AI-written summary · about

  1. 0:00Introduction to Java agents
  2. 8:08Instrumentation interface basics
  3. 20:11Dynamic class transformation
  4. 35:57Agent implementation challenges
  5. 48:05Performance monitoring with agents
  6. 53:18Advanced agent use cases
  7. 1:00:33Q&A and closing remarks
~/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.