| Robert Strom and Joshua Auerbach. The Optimistic Readers Transformation. In European Conference on Object Oriented Programming, June 2001. |
....the lock based approach to implementing atomic increment would likely perform even worse under a similar load. It is also possible to use AtomicLocks to guard simple reads and writes. This would give semantics slightly stronger that declaring the field volatile, which might be useful in some cases[17]. It has the additional benefit that you can also guard reads writes of array elements (which can t be declared as volatile) and interacts correctly with other operations on the field guarded by the same lock. This is a side benefit of using idiom recognition to support atomic instructions, and ....
Robert Strom and Joshua Auerbach. The Optimistic Readers Transformation. In European Conference on Object Oriented Programming, June 2001.
Online articles have much greater impact More about CiteSeer.IST Add search form to your site Submit documents Feedback
CiteSeer.IST - Copyright Penn State and NEC