Overview
Syllabus
Intro
MVT: value types without value types
Deriving the Value Class - 19
Deriving the value class - HotSpot
Value Types Flattening
Array Flattening, not so simple
Value Bytecodes
Separate compilation breaking the calling convention
Slot design alternatives
Interpreter changes in HotSpot VM
Hotspot interpreter on-heap / off-heap values
Hotspot: thread local buffer management
Hotspot: Values format
Example: Complex number using POJOS
Example: Complex number using Value Types
Field Flattening
Flattened fields - 19
Value types methods and interfaces
Value types and generic code
Taught by
Java