kirancodes.me
To Proof Maintenance & Beyond!

Lock elision for read-only critical sections in Java

Takuya Nakaike, Maged M. Michael

Abstract

It is not uncommon in parallel workloads to encounter shared data structures with read-mostly access patterns, where operations that update data are infrequent and most operations are read-only. Typically, data consistency is guaranteed using mutual exclusion or read-write locks. The cost of atomic update of lock variables result in high overheads and high cache coherence traffic under active sharing, thus slowing down single thread performance and limiting scalability.

Related papers