Replace synchronized
withReentrantLock
#3715
Merged
synchronized
withReentrantLock
#3715