Coding Fun Java Java 9 VarHandles Best practices, and why? by Tobi Ajila

Java 9 VarHandles Best practices, and why? by Tobi Ajila





Have you ever had to dig for sun.misc.Unsafe to get access to CompareAndSwap? Are you interested in eking out the last bit of parallelism from your code? VarHandles in Java 9 enable memory ordering and atomic operations on any field type. With more granularity in the memory ordering modes, Java programmers can improve the potential parallelism of their applications, while also getting the benefits of a Safe API.

Learn the best practices for using VarHandles in your code, and how the JVM…

Tags: , , , , , , , ,

2 thoughts on “Java 9 VarHandles Best practices, and why? by Tobi Ajila”

  1. Sina Madani says:

    Useful presentation, but horrible audio!

Leave a Reply

Your email address will not be published. Required fields are marked *