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

Igor Veresov igor.veresov at oracle.com
Thu Mar 30 22:46:57 UTC 2017


Looks good.

igor

> On Mar 30, 2017, at 3:30 PM, Doug Simon <doug.simon at oracle.com> 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