[concurrency-interest] JDK 9's compareAndSet vs compareAndExchange
akarnokd at gmail.com
Fri Sep 23 06:07:25 EDT 2016
> Yes, that should happen. But on off-chance inlining breaks, it is a good
> idea to have the accessor methods closer to A*FU/VH fields, so that you
> can reference them directly. This is a common practice for using A*FU
> (and by extension, VHs). Passing things around may run into surprises.
Thanks. (Too bad the utility method call appears 200+ times in my codebase
along with other similar helper methods).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest