Atomic reference implementation for JRuby, Rubinius, and MRI
