An atomic reference implementation for JRuby, Rubinius, and MRI