In which situations it's needed to use volatile keyword with Atomic field? Or if the field is Atomic*** keyword volatile is redundant?
Thank you
Difference is nicely mentioned in Java Concurrency In Practice
book:
So there is no need to use volatile keyword with AtomicXXX variables.