Overview
Explore the state of java.lang.invoke in this comprehensive conference talk from the 2015 JVM Language Summit. Dive into the evolution of Method Handles since JDK 7, examining key concepts such as VM Anonymous Classes, Constant Pool Patching, and Lambda Form Caching. Learn about the balance between sharing and customization, and discover advancements in Lambda Form Precompilation and Non-Constant Method Handle Invocation. Investigate improvements in MethodHandle.asType() caching and sharing, as well as efforts to reduce stack consumption. Gain insights into Lightweight Code Loading and the introduction of Variable Handles through JEP 193. This in-depth presentation by Vladimir Ivanov offers valuable knowledge for language designers, compiler writers, tool builders, runtime engineers, and VM architects interested in the intricacies of java.lang.invoke.
Syllabus
Intro
Method Handles in JDK 7 GA
The Grand Plan
VM Anonymous Classes Constant Pool Patching
Lambda Form Caching
Sharing vs Customization
Lambda Form Precompilation
Non-Constant Method Handle Invocation
Ultimate Sharing
MethodHandle.asType() Better Caching/ Sharing
Reduce stack consumption
Lightweight Code Loading
JEP 193: Variable Handles
Taught by
Java