hopefully this prevents jit optimizing it out
scripted update of code from master at 203f2ea hopefully this prevents jit optimizing it out