where is the code for recursive locking of the same thread when use	biased locking.
    wei he 
    antcrawlerster at gmail.com
       
    Tue Jun 14 08:45:34 PDT 2011
    
    
  
dear all, this is my first post, so if there are something wrong, pls to
point out.
As for biased locking, we know that when one thread has got an object's lock
use biased pattern, when the thread want to got the lock again(the thread
don't relase the lock at that time), hotspot just to find the thread has
already owned the lock and do nothing( at least not change the object's
header), could anyone told me where i can find the code to deal with this
recursive locking situation. I had read
synchronize.hpp(cpp),biasedLocking.hpp(cpp), but find nothing, i think the
fast_enter() function in the synchronize.cpp didn't deal this case(The
openjdk's version i got is openjdk-7-ea-src-b136-31_mar_2011). Any
suggestion is appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20110614/16fcc2a2/attachment.html 
    
    
More information about the hotspot-runtime-dev
mailing list