Separate compilation breaking the calling convention
9
Slot design alternatives
10
Interpreter changes in HotSpot VM
11
Hotspot interpreter on-heap / off-heap values
12
Hotspot: thread local buffer management
13
Hotspot: Values format
14
Example: Complex number using POJOS
15
Example: Complex number using Value Types
16
Field Flattening
17
Flattened fields - 19
18
Value types methods and interfaces
19
Value types and generic code
Description:
Explore the experimental implementation of Minimal Value Types in Java through this 45-minute conference talk. Dive into the subset of JVM changes required to support Value Types without exposing them through the Java language compiler. Learn about clever uses of MethodHandles and byte code generation to preview Value Types capabilities. Examine key JVM modifications, including value type representation in the JVM model, implementation strategies, data layout optimization, and new JIT optimizations. Discover the impact on bytecode verification, class loading, and early performance results. Gain insights into design trade-offs, open issues, and potential models of usage for this early access preview of the Valhalla Value Types project.
Minimal Value Types in Java - Implementation and Optimization