Explore the power of VarHandles in Java 9 through this informative conference talk. Discover how to leverage memory ordering and atomic operations on any field type, potentially improving parallelism in your applications. Learn best practices for implementing VarHandles in your code and understand how the JVM utilizes these practices to optimize performance. Gain insights from Tobi Ajila, a Java Runtime developer for the J9 VM team, as he shares his expertise on VarHandles, Project Jigsaw, and Project Panama. Understand the benefits of using VarHandles as a safe alternative to sun.misc.Unsafe for operations like CompareAndSwap, and explore the granular memory ordering modes that can enhance your Java programming skills.
Overview
Syllabus
Java 9 VarHandles Best practices, and why? by Tobi Ajila
Taught by
Devoxx