Optimize for JRuby 32/64 bit differences