En este post se discute el problema de la no-atomicidad en Java, con demo: [long and double assignments are not atomic - How does it matter?](
https://stackoverflow.com/questions/17481153/long-and-double-assignments-are-not-atomic-how-does-it-matter)