RFR(xs): 8198270: Remove dangerous assert in HandleArea::oops_do()

Stefan Karlsson stefan.karlsson at oracle.com
Mon Feb 19 12:33:47 UTC 2018


Looks good.

StefanK

On 2018-02-16 14:49, Per Liden wrote:
> With the introduction of the Access API it's no longer safe to assume 
> that you can safely de-reference an oop without using the proper Access 
> function. The assert in HandleArea::oops_do() makes this assumption, 
> which can lead to crashes. This patch removes the offending assert.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8198270
> Webrev: http://cr.openjdk.java.net/~pliden/8198270/webrev.0/
> 
> /Per
> 



More information about the hotspot-gc-dev mailing list