Login
Roast topics
Find topics
Find it!
From:
Alexandru Nedelcu - Blog
(Uncensored)
subscribe
Java Volatiles
https://alexn.org/blog/2023/06/19/java-volatiles/?pk_campaign=rss
links
backlinks
Tagged with:
programming
concurrency
java
scala
jvm
Roast topics
Find topics
Roast it!
In Java and other JVM languages, “volatile” reads and writes are part of the concurrency toolbox. But adding volatile on variables can be a mistake. This is a poorly understood concept. Let’s gain a better understanding.