In my professional career I’ve came across some issues around Java volatil variables, it comes very handy when multi-core computers arrived. The semantic in Java has changed in it’s 5th version, and it still is a bad documented, badly known and used concept. So it’s time to stop, think, read, learn and mature the concepts. So, what it is? Why do we need it? And most important, should we try to use it?

July 12, 2014 Concurrency, Java