[8u-dev] RFR (XS): 8178047: Aliasing problem with raw memory accesses

David Buck david.buck at oracle.com
Fri Jul 21 08:16:53 UTC 2017


May I please get a quick review of this almost completely trivial 
backport to 8u-dev?

bug report:

JDK 9 push:

proposed JDK 8 change:

The JDK 9 change would have worked as-is except for the following 
package name change:

jdk.internal.misc.Unsafe -> sun.misc.Unsafe

My backport also removed the following annotation from the testcase:

@modules java.base/jdk.internal.misc:+open

I have confirmed effectiveness of fix with testcase. All standard JPRT 
tests (default and hostspot testsets) pass with this change.


More information about the hotspot-compiler-dev mailing list