~/talk

Making Java more dynamic

Talkat Jfokus 2016 · 2016-02-08..02-10· [java, compilers-and-language-design]
slides:none on file

Claim: Java can behave dynamically by changing bytecode at runtime. Uses actual tools: Byte Buddy (plus ASM, cglib, Javassist) to subclass, redefine classes, or install a Java agent that transforms classes on load. Proven patterns: Spring/Hibernate/Mockito rely on this; Google uses Byte Buddy; the library reports ~500k downloads and can generate about 10,000 classes per second. Limitations: Android ART/Dalvik prevent full redefinition; hot‑swap can’t add methods yet.

AI-written summary · about

  1. 0:00Start
  2. 2:17Runtime Code Generation
  3. 2:31Implement the Framework
  4. 6:15Java Bytecode
  5. 7:26Bytecode
  6. 14:44Hibernate
  7. 19:06Reflection
  8. 21:20Cogeneration
  9. 21:59Stack Machine
  10. 29:45Method Delegation
  11. 32:44Overview
  12. 33:30Using Hot Swap
  13. 36:04Java Agents
  14. 36:33The Java Agent
  15. 37:00Instrumentation Instance
  16. 42:31Dalvik Bytecode
  17. 43:58Benchmarks
~/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.