RFR(S) 8180785: [AOT][GRAAL] java.lang.AssertionError: Method not found: jdk.internal.misc.Unsafe.compareAndSwapInt
paul.sandoz at oracle.com
Tue Jun 6 23:51:28 UTC 2017
> On 6 Jun 2017, at 13:45, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
> webrev: http://cr.openjdk.java.net/~kvn/8180785/webrev/
> AOT jtreg tests fail due to 8159995  changes which renamed some methods in jdk.internal.misc.Unsafe
> The fix does renaming in Graal code which use jdk.internal.misc.Unsafe. It should go through Graal-core review process and pushed there (Oracle Labs repository) first. Doug, please, help with it.
> Note, JDK 9 will be updated soon  to get the same renaming so Graal-core does not need to check for JDK 10 specifically. But changes should be pushed only after  is pushed into jdk9/dev and get into promoted build which people use with Graal.
 is now pushed to 9.
> Second note. The copy of Graal-core in jdk9 (jdk.internal.vm.compiler) will be fixed by  changes.
> I looked on other places in Graal where such methods are used and they are from sun.misc.Unsafe class. Those places have to be fixed too when sun.misc.Unsafe become obsolete.
>  https://bugs.openjdk.java.net/browse/JDK-8159995
>  https://bugs.openjdk.java.net/browse/JDK-8181292
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the hotspot-compiler-dev