Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of machine code snippets and vector ISA extensions in this 50-minute Java-focused talk. Delve into native method handles, comparing native code with JVM intrinsics, and examine vectorized memory copy techniques. Investigate the impedance mismatch between JVM and hardware, focusing on the Valhalla JVM. Learn about register masks, preservation calling conventions, vector boxing, allocation placement, and repeated unboxing. Discover the current status of vectorized hash implementations and discuss remaining work, including handling multiple return values.
Syllabus
Intro
Vector ISA Extensions
Motivation
Native Method Handles
Native code vs JVM Intrinsics
Machine Code Snippets
Vectorized Memory Copy
Stand-alone version
Native Method Linker
JVM vs Hardware Impedance Mismatch
Valhalla JVM vs Hardware
Register Masks
Register Preservation Calling Convention
Vector Box
Allocation Placement
Repeated Unboxing
Vectorized Hash
Current Status
Remaining Work
Multiple Return values
Taught by
Java