一、
1、减少锁的的持有时间
2、减少锁的的持有粒度
3、锁分离,(如 linkedblockingqueue 中的take 和put分别有两种锁)
4、读写锁分离 (如copyonwritearray )
5、锁粗化
二、