Workaround weird HotSpot issue. The exception handling code somehow caused the generated code to be deoptimized and it stayed that way.