~/talk

State of java.lang.invoke

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

Java 8u40 replaces the old method‑handle IR with Lambda forms and adds Lambda form sharing, cutting the number of Lambda forms from millions to thousands and yielding about a 4x metaspace reduction and ~4x fewer loaded classes on Box2D, faster startup/warmup and many Octane wins (some subtests improve 3x+). Problems include profile pollution and slower non‑constant method‑handle calls (up to ~20% regressions); fixes use per-method-handle profiling, precompilation and other VM tweaks landed in 8u60 and JDK9 EA.

AI-written summary · about

  1. 0:00Intro
  2. 1:34Method Handles in JDK 7 GA
  3. 4:02The Grand Plan
  4. 9:43VM Anonymous Classes Constant Pool Patching
  5. 16:28Lambda Form Caching
  6. 17:36Sharing vs Customization
  7. 21:33Lambda Form Precompilation
  8. 31:01Non-Constant Method Handle Invocation
  9. 35:51Ultimate Sharing
  10. 43:05MethodHandle.asType() Better Caching/ Sharing
  11. 45:48Reduce stack consumption
  12. 50:00Lightweight Code Loading
  13. 59:28JEP 193: Variable Handles
~/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.