Compiled native calls are rather messy at the moment, with uncommon code mixed in with the usual path, causing a lot of branching. This patch does little more than move things around, ensuing that the fast path is straight through from entry to exit. http://cr.openjdk.java.net/~aph/8136165-1/ Andrew.