[concurrency-interest] Ordering Question

thurstonn thurston at nomagicsoftware.com
Thu Jul 21 02:32:21 EDT 2016


Is it necessary that the two int instance variables (a, b) are declared
volatile in those tests that only access them through their respective
VarHandles?

Maybe prevents stack allocation?



--
View this message in context: http://jsr166-concurrency.10961.n7.nabble.com/Ordering-Question-tp13612p13622.html
Sent from the JSR166 Concurrency mailing list archive at Nabble.com.


More information about the Concurrency-interest mailing list