what does "LEAF method calling lock?" mean?

Colin(Du Li) dawn2004 at gmail.com
Tue Mar 31 10:27:57 PDT 2009


Thanks.
Now, I just wanna allocate an object, and the thread state is
"thread_in_Java", then I got this error. 
How can address this problem? Can i just ignore it?

Du Li


Tom Rodriguez wrote:
> 
> JRT_LEAF methods aren't allowed to acquire locks since they might have  
> to block.  Leaf methods aren't allowed to block because they aren't  
> set up to safepoint so they could deadlock the whole system.
> 
> tom
> 
> On Mar 14, 2009, at 7:55 PM, Colin(Du Li) wrote:
> 
>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/what-does-%22LEAF-method-calling-lock-%22-mean--tp22519628p22519628.html
>> Sent from the OpenJDK Hotspot Virtual Machine mailing list archive  
>> at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/what-does-%22LEAF-method-calling-lock-%22-mean--tp22519628p22805245.html
Sent from the OpenJDK Hotspot Virtual Machine mailing list archive at Nabble.com.




More information about the hotspot-dev mailing list