RFR 8143628: Fork sun.misc.Unsafe and jdk.internal.misc.Unsafe native method tables

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu Nov 26 12:00:35 UTC 2015


On 11/26/2015 12:55 PM, Paul Sandoz wrote:
> http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8143628-unsafe-native-jdk/
> http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8143628-unsafe-native-hotspot/

Both JDK and Hotspot changes look good to me.


> https://bugs.openjdk.java.net/browse/JDK-8143628 C1 LinearScan
> asserts when compiling two back-to-back CompareAndSwapLongs
> 
> which causes test failures on 32 bit fastdebug builds (linux and
> windows). I am reluctant to modify the tests to workaround (it’s good
> they found a bug that goes way back to at least 7u1!), and i am
> hopeful it can be fixed soon (since Roland has found the cause).

Separately, I checked that Roland's suggested fix indeed makes new tests
to pass on my Linux i586.

Thanks,
-Aleksey




More information about the core-libs-dev mailing list