How lock works?

Eliminating Synchronization-Related Atomic Operations with Biased Locking and Bulk Rebiasing

http://www.oracle.com/technetwork/java/biasedlocking-oopsla2006-wp-149958.pdf

https://blogs.oracle.com/dave/biased-locking-in-hotspot

Quickly Reacquirable Locks∗

https://cdn.app.compendium.com/uploads/user/e7c690e8-6ff9-102a-ac6d-e4aebca50425/f4a5b21d-66fa-4885-92bf-c4e81c06d916/File/ccd39237cd4dc109d91786762fba41f0/qrl_oplocks_biasedlocking.pdf

 

 深入剖析基于并发AQS的(独占锁)重入锁(ReetrantLock)及其Condition实现原理

[Agesen99] O. Agesen, D. Detlefs, A. Garthwaite, R. Knippel, Y. S. Ramakrishna, D. White: An Efficient Meta-lock for Implementing Ubiquitous Synchronization 

doi:10.1145/320384.320402

https://www.usenix.org/legacy/event/jvm01/full_papers/dice/dice.pdf

深入理解Java并发之synchronized实现原理

https://wiki.openjdk.java.net/display/HotSpot/Synchronization

http://joeduffyblog.com/2016/11/30/15-years-of-concurrency/

http://www.moserware.com/2008/09/how-do-locks-lock.html

http://www.infoq.com/cn/articles/java-memory-model-5

【死磕Java并发】—–深入分析synchronized的实现原理

【死磕Java并发】—–深入分析ThreadLocal

cmpxchgl

http://www.lenky.info/archives/2012/11/2028

Java锁----Lock实现原理

http://blog.csdn.net/endlu/article/details/51249156

Java锁--Lock实现原理(底层实现)

http://blog.csdn.net/Luxia_24/article/details/52403033

分析ReentrantLock的实现原理

http://www.jianshu.com/p/fe027772e156

Lock translate to monitor

https://github.com/dotnet/roslyn/blob/56f605c41915317ccdb925f66974ee52282609e7/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_LockStatement.cs

Intel’s ‘cmpxchg’ instruction

http://heather.cs.ucdavis.edu/~matloff/50/PLN/lock.pdf

http://www.moserware.com/2008/09/how-do-locks-lock.html

https://blogs.msdn.microsoft.com/vancem/2006/03/28/low-lock-techniques-in-action-implementing-a-reader-writer-lock/

http://www.blogjava.net/xylz/archive/2010/07/07/325410.html

http://stackoverflow.com/questions/12894078/pause-instruction-in-x86

https://software.intel.com/en-us/articles/implementing-scalable-atomic-locks-for-multi-core-intel-em64t-and-ia32-architectures

Intel® 64 and IA-32 Architectures Software Developer’s Manual

http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-system-programming-manual-325384.pdf

https://msdn.microsoft.com/en-us/library/system.threading.spinlock(v=vs.110).aspx

https://liuzhengyang.github.io/2017/03/28/volatileandlock/

Thin Locks: Featherweight Synchronization for Java

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.90.664&rep=rep1&type=pdf

posted on 2017-11-22 14:17  暖风的风  阅读(179)  评论(0编辑  收藏  举报

导航