Restrictions for lock coarsening?

Christian Thalinger christian.thalinger at gmail.com
Tue Jan 6 10:01:14 PST 2009


[Slightly off-topic.]
	
On Mon, 2009-01-05 at 11:19 -0800, Tom Rodriguez wrote:
> Hmm.  I would expect biased locking to handle your case perfectly with  
> no CAS if things are as you describe.  For startup purposes biased  
> locking disabled at the beginning of the VM and is enabled after about  
> 4 seconds.

This already came up once and I wanted to ask the following question
back then (but forgot):

Why is it an absolute time value and not some definite point in the VM
startup sequence?

> This means that objects created during that time period  
> aren't allowed to use biased locking.

Throughout the whole lifetime?

- Christian




More information about the hotspot-runtime-dev mailing list