Reduce contention on the Attributes lock by using atomic operations for reference...