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

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Mar 10 20:42:10 PST 2011


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