RFR: 8177673: [JVMCI] missing checks in HotSpotMemoryAccessProviderImpl can cause VM assertions to fail

Tom Rodriguez tom.rodriguez at oracle.com
Fri Mar 31 04:07:22 UTC 2017


Looks good.

tom

Doug Simon wrote:
> Please review this patch to fix a VM-level assertion failure due to missing sanity checks in HotSpotMemoryAccessProviderImpl. The sanity checking has been enhanced to map an object+displacement back to a field before performing a read. If the mapping fails, an IllegalArgumentException is thrown.
>
> Tested on Graal.
>
> -Doug
>
> http://cr.openjdk.java.net/~dnsimon/8177673/webrev/
> https://bugs.openjdk.java.net/browse/JDK-8177673


More information about the hotspot-compiler-dev mailing list