https://bugs.openjdk.java.net/browse/JDK-8166806 was just integrated.
It has led to issues in testing on SPARC and AARCH64 platforms in that the intrinsic code is missing an explicit control dependency. On x86, it seems that there is an implicit control dependency that makes the code work - but on the former platforms, the lack of dependency allows a load to "float" up before the implicit null check dispatch for the uncommon trap.
It has led to issues in testing on SPARC and AARCH64 platforms in that the intrinsic code is missing an explicit control dependency. On x86, it seems that there is an implicit control dependency that makes the code work - but on the former platforms, the lack of dependency allows a load to "float" up before the implicit null check dispatch for the uncommon trap.