biased-locking Questions

5

Solved

I keep reading about how biased locking, using the flag -XX:+UseBiasedLocking, can improve the performance of un-contended synchronization. I couldn't find a reference to what it does and how it im...
Vigor asked 24/2, 2012 at 23:37

1

As far as I know an object's hash code is normally stored in the header word of the object, which, for example, may have the following layout in HotSpot: | hash code | age | 0 | 01 | According to...
Aurel asked 5/2, 2013 at 21:56
1

© 2022 - 2024 — McMap. All rights reserved.