returns the queuelength of waiting threads . a larger number indicates greater lock contention . concode_field_sep ReentrantReadWriteLock coarseLock concode_field_sep boolean isWriteLockedByCurrentThread concode_elem_sep Lock writeLock concode_elem_sep int getReadHoldCount concode_elem_sep Lock readLock concode_elem_sep int getWriteHoldCount
int function ( ) { return coarseLock . getQueueLength ( ) ; }