Review request (S): 8005002: Crash because of a raw oop in ClassLoaderData::add_dependency

Stefan Karlsson stefan.karlsson at oracle.com
Thu Dec 13 04:38:58 PST 2012


Thanks,
StefanK

On 12/13/12 1:30 PM, serguei.spitsyn at oracle.com wrote:
> The fix is good.
>
> Thanks,
> Serguei
>
> On 12/13/12 12:16 AM, Stefan Karlsson wrote:
>> http://cr.openjdk.java.net/~stefank/8005002/webrev.00/
>>
>> This is a fix for a crash seen the nightly comp testing in the test:
>> vm/mlvm/indy/stress/gc/lotsOfCallSites
>>
>> We have a raw oop while calling out to an allocation function that 
>> might block for GC. If a GC enters, it might move the Object but will 
>> not update the oop. Make sure that we wrap the oop in a handle before 
>> calling the allocation function.
>>
>> StefanK
>



More information about the hotspot-dev mailing list