JDK-8237011 : Release Note: Shenandoah CAS barriers improvements
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2020-01-13
  • Updated: 2020-01-13
  • Resolved: 2020-01-13
Description
Following the Load-Reference-Barriers work in JDK 13 (JDK-8221766), Shenandoah improves CAS barriers to be more efficient. This may translate to higher performance in heavily concurrent code that deals with lots of object reference CASes, e.g. with AtomicReference.compareAndSet, VarHandle.compareAndSet, Unsafe.compareAndSet, etc.