Subscribe to our channel: https://youtube.pl/c/DevoxxPoland?sub_confirmation=1
The JVM provides us with many ways to implement "mutual exclusion" in multithreaded applications. Synchronized, ReentrantLock, or Atomic. Each of these mechanisms has its pros and cons, besides known as "it's just an implementation detail". During the next installment of the journey into the depths of the JVM, you will learn how these mechanisms differ, we will look inside them and you will learn what impact these tiny implementation details have on performance and scalability. There will besides be time for discussions and applicable advice on what situations to usage each of these mechanisms, and how to trace its behavior.
What is "adaptive locking"? What do threads do erstwhile they are parked? What is the mysterious futex and why are Atomic variables are locks at the hardware level? There will time to besides talk about reentrance, fairness, and monitor deflation. If this not adequate we will close a short introduction to lock-free programming.
If you answered yes to at least 1 question, or you just want to have fun and not necessarily get anything from this presentation, you are welcome.
Recorded at Devoxx Poland 2024
Twitter: https://twitter.com/DevoxxPL
Instagram: https://www.instagram.com/DevoxxPL
Join us besides here:
Devflix: https://devflix.pl
#Devoxx #DevoxxPoland #IT #Development #SoftwareDevelopment








