The Invocation Game
summary
Java 9 moves invokedynamic into string concat and compiler output, adds VarHandles for faster atomic access and to replace Unsafe (used to rework java.util.concurrent ForkJoin), and extends method handle combinators to express loops and control flow that JIT compiles into tight code — demos show native-instruction method handles and Intel-backed vector/value-type pathfinding producing real vectorized loops. Prototype for constant_dynamic (condy) lives in a branch and lazy bootstrap/OT work aims to cut boxing and startup. VarHandles replacing Unsafe works today in parts of the JDK.
AI-written summary · about
chapters (14)
- 0:00Start
- 0:50Safe Harbor Statement
- 5:43In the possible future...
- 10:41Signature polymorphism public class Test
- 14:25Lookup and invocation
- 15:25Access control via lookup (whither setAccessible)
- 25:46MethodHandle combinators
- 31:52Constant-dynamic
- 36:24possible future combinators
- 42:10bootstrap methods every-when
- 43:43code formats
- 44:50constant formats
- 45:07calling sequences
- 46:25Links








