Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
ie. -// The default length of mutex name was originally chosen to be 64 to avoid -// false sharing. Now, PaddedMutex and PaddedMonitor are available for this purpose. -// TODO: Check if _name[MUTEX_NAME_LEN] should better get replaced by const char*. -static const int MUTEX_NAME_LEN = 64; - Since HandshakeState embeds Mutex, it adds 512 extra bits to JavaThread. I ran performance tests on this and there was no change in performance.
|