~/talk

INVOKEDYNAMIC = a More Dynamic JVM

TalkinPolishat JDD 2012 · 2012-10-25..10-26· [java]
links:none on file
slides:none on file

invokedynamic introduces a new JVM bytecode plus the method-handle API (JSR-292) allowing a bootstrap method to link a call site once and then execute at near-static-call speed. The talk shows using ASM to emit invokedynamic sites and provides Cookbook examples and microbenchmarks (700 million calls) where invokedynamic matches static calls and far outperforms reflection by avoiding boxing. Practical uses demonstrated include lazy field initialization, on-the-fly proxies for single-method interfaces, combinators (bind/filter/identity), and a memoized Fibonacci implementation that drops runtime from minutes to 51 ms.

AI-written summary · about

  1. 0:00INVOKEDYNAMIC intro
  2. 1:06Why INVOKEDYNAMIC matters
  3. 10:22Method handles mechanism
  4. 23:11Bootstrap methods role
  5. 30:39Method handles examples
  6. 49:46INVOKEDYNAMIC vs reflection
  7. 52:45Lazy init with INVOKEDYNAMIC
  8. 1:01:00Recursion and caching
  9. 1:14:37Summary and future
  10. 1:24:12Q&A
~/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.