youtube image
From YouTube: Scalable Locking

Description

Currently, Eclipse OpenJ9 uses OMR’s Test & Test & Set (TATAS) locks a.k.a. spinlocks with compare and swap (CAS) for synchronization, which are known to be unfair. TATAS locks collapse on massively parallel systems during high lock contention where many threads attempt to acquire a lock simultaneously. This talk will cover the following:
1) Does transitioning to scalable locks, such as the Mellor-Crummey & Scott (MCS) queue-based spinlock, in OpenJ9 resolve the TATAS bottleneck?2) Do features, such as lock cohorting, concurrency restriction, transactional lock elision (TLE) and scalable statistics counters, help further improve locking performance in OpenJ9?