YoVDO

Minimal Value Types in Java - Implementation and Optimization

Offered By: Java via YouTube

Tags

Fashion Courses Java Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

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

Related Courses

Algorithms, Part I
Princeton University via Coursera
Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
MongoDB for Java Developers
MongoDB University
Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
Intro to Java Programming
San Jose State University via Udacity