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 22:55:04 PST 2011


Thank you, Tom

Vladimir

On 3/10/11 8:48 PM, Tom Rodriguez wrote:
> 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