Want to write articles/new answer to be published in javapedia.net? Send in your article with your name to javatutorials2016@gmail.com!

Prev Next

Java / volatile

Is reading a long/double variable is atomic?

long/double are 64-bit wide and it is read first 32 bit and next other 32 bits, so it is non-atomic.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

Java ThreadLocal

Comments & Discussions