Request for reviews (XS): 7026631: field _klass is incorrectly set for dual type of TypeAryPtr::OOPS

Tom Rodriguez tom.rodriguez at oracle.com
Thu Mar 10 20:48:45 PST 2011


Looks good.

tom

On Mar 10, 2011, at 8:42 PM, Vladimir Kozlov wrote:

> http://cr.openjdk.java.net/~kvn/7026631/webrev
> 
> Fixed 7026631: field _klass is incorrectly set for dual type of TypeAryPtr::OOPS
> 
> TypeAryPtr::klass() method misses the check "this->dual() != TypeAryPtr::OOPS" and sets _klass field to dangling ciKlass pointer. As result VM crash when it tries to use this cached pointer during an other compilation.



More information about the hotspot-compiler-dev mailing list