LPS-66959 Use ReadWriteLock to optimzie reading paths in addReference()/removeReference(), when concurrent destroy() happens in between the addReference()/removeReference() window times, upgrade to write lock to ensure proper Condition waiting.

Signed-off-by: shuyangzhou <shuyang.zhou@liferay.com>
1 file changed