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

[Bacon98] D. F. Bacon, R. Konuru, C. Murthy, M. Serrano: Thin Locks: Featherweight Synchronization for Java.  1998.

doi:10.1145/277650.277734

[Kawachiya02] K. Kawachiya, A. Koseki, T. Onodera: Lock Reservation: Java Locks can Mostly do without Atomic Operations. 2002.

doi:10.1145/582419.582433

[Russel06] K. Russell, D. Detlefs: Eliminating Synchronization-Related Atomic Operations with Biased Locking and Bulk Rebiasing 263-272. ACM Press, 2006.

doi:10.1145/1167473.1167496

深入理解Java内存模型(五)——锁

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

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

How lock works?的更多相关文章

  1. Eclipse hangs on loading workbench, eclipse停在启动界面的处理办法

    http://stackoverflow.com/questions/8972034/eclipse-hangs-on-loading-workbench 解答一: In most cases, rm ...

  2. LOCK TABLES和UNLOCK TABLES与Transactions的交互

    LOCK TABLES对事务不安全,并且在试图锁定表之前隐式提交任何活动事务. UNLOCK TABLES只有在LOCK TABLES已经获取到表锁时,会隐式提交任何活动事务.对于下面的一组语句,UN ...

  3. SQL Server Lock Escalation - 锁升级

    Articles Locking in Microsoft SQL Server (Part 12 – Lock Escalation) http://dba.stackexchange.com/qu ...

  4. Deal with Android phones with pattern lock on

    Yesterday my colleague asked me for help...She has two android phones , one is hTC and the other is ...

  5. How Tomcat Works(四)

    Servlet容器有两个主要的模块,即连接器(connector)与容器(container),本文接下来创建一个连接器来增强前面文章中的应用程序的功能,以一种更优雅的方式来创建request对象和r ...

  6. Metadata Lock原理1

    https://www.percona.com/blog/2013/02/01/implications-of-metadata-locking-changes-in-mysql-5-5/ impli ...

  7. mysql出现Waiting for table metadata lock的原因及解决方案

    最近经常遇到mysql数据库死锁,郁闷死, show processlist; 时 Waiting for table metadata lock 能一直锁很久 下面有官网的一段话,可以理解下 htt ...

  8. 转 MYSQL SELECT ... FOR UPDATE and SELECT ... LOCK IN SHARE MODE Locking Reads

    原文: http://dev.mysql.com/doc/refman/5.0/en/innodb-locking-reads.html In some circumstances, a consis ...

  9. Waiting for table metadata lock

    出现下图这个现象之前是在一张事务操作频繁地表上,执行了truncate操作. mysql.sock@(none)> select user,host,db,command,time,state, ...

随机推荐

  1. Inno Setup入门(六)——在程序目录下创建文件夹

    创建文件夹可以使用[dirs]段实现,代码如下: [setup] ;全局设置,本段必须 AppName=Test AppVerName=TEST DefaultDirName="E:\TES ...

  2. C# 多线程并发锁模式-总结

    开篇: 互斥还是lock Monitor Mutex 模式! Muex Monitor lock AutoEventSet ManualEventSet 后续的 ReaderWriterLock   ...

  3. 转:Ogre TerrainGroup地形赏析

    1.1  参考 http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Ogre+Terrain+System http://www.ogre3d.org ...

  4. 使用PHP做移动端 api接口开发方法(适用于TP框架)

    1. [代码]使用TP框架时 放在common文件夹下文件名就叫function.php ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ...

  5. iOS10 打开APP设置界面和WIFI界面

    在iOS10以上,权限这块有了一些变化 首先在info的URL Types 添加  prefs 1.打开APP设置界面 //打开设置 let url:NSURL = NSURL(string: UIA ...

  6. Python 由list转为dictionary

    Python 由list转为dictionary 例如: 原始的 list 形式为: session_item_data=[[100, [10, 11], [12, 13]], [101, [11, ...

  7. iOS开发调试Reveal使用

    推荐通过Xcode中加断点的方式集成Reveal(小缺陷,当你禁用断点时或者不用Xcode而用Appcode开发时,这个方式是不管用). 打开您的iOS工程,选择 View → Navigators ...

  8. linux线程学习

    按照书上写的,不知道为什么有问题: //已解决,参考最新的blog,哈哈 #include <stdlib.h> #include <pthread.h> #include & ...

  9. linux命令大全之watch命令详解(监测命令运行结果)

    watch是一个非常实用的命令,基本所有的Linux发行版都带有这个小工具,如同名字一样,watch可以帮你监测一个命令的运行结果,省得你一遍遍的手动运行.在Linux下,watch是周期性的执行下个 ...

  10. fedora装机运行第一脚本

    博主原创: #!/bin/bash echo "更换源&更新源......" yum install wget -y yum install yum-fastestmirr ...