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∗
深入剖析基于并发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 .
[Bacon98] D. F. Bacon, R. Konuru, C. Murthy, M. Serrano: Thin Locks: Featherweight Synchronization for Java. 1998.
[Kawachiya02] K. Kawachiya, A. Koseki, T. Onodera: Lock Reservation: Java Locks can Mostly do without Atomic Operations. 2002.
[Russel06] K. Russell, D. Detlefs: Eliminating Synchronization-Related Atomic Operations with Biased Locking and Bulk Rebiasing 263-272. ACM Press, 2006.
深入理解Java内存模型(五)——锁
https://www.usenix.org/legacy/event/jvm01/full_papers/dice/dice.pdf
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的实现原理
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
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
http://www.blogjava.net/xylz/archive/2010/07/07/325410.html
http://stackoverflow.com/questions/12894078/pause-instruction-in-x86
Intel® 64 and IA-32 Architectures Software Developer’s Manual
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?的更多相关文章
- Eclipse hangs on loading workbench, eclipse停在启动界面的处理办法
http://stackoverflow.com/questions/8972034/eclipse-hangs-on-loading-workbench 解答一: In most cases, rm ...
- LOCK TABLES和UNLOCK TABLES与Transactions的交互
LOCK TABLES对事务不安全,并且在试图锁定表之前隐式提交任何活动事务. UNLOCK TABLES只有在LOCK TABLES已经获取到表锁时,会隐式提交任何活动事务.对于下面的一组语句,UN ...
- SQL Server Lock Escalation - 锁升级
Articles Locking in Microsoft SQL Server (Part 12 – Lock Escalation) http://dba.stackexchange.com/qu ...
- 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 ...
- How Tomcat Works(四)
Servlet容器有两个主要的模块,即连接器(connector)与容器(container),本文接下来创建一个连接器来增强前面文章中的应用程序的功能,以一种更优雅的方式来创建request对象和r ...
- Metadata Lock原理1
https://www.percona.com/blog/2013/02/01/implications-of-metadata-locking-changes-in-mysql-5-5/ impli ...
- mysql出现Waiting for table metadata lock的原因及解决方案
最近经常遇到mysql数据库死锁,郁闷死, show processlist; 时 Waiting for table metadata lock 能一直锁很久 下面有官网的一段话,可以理解下 htt ...
- 转 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 ...
- Waiting for table metadata lock
出现下图这个现象之前是在一张事务操作频繁地表上,执行了truncate操作. mysql.sock@(none)> select user,host,db,command,time,state, ...
随机推荐
- java第九节 网络编程的基础知识
/** * * 网络编程的基础知识 * 网络协议与TCP/IP * IP地址和Port(端口号) * 本地回路的IP地址:127.0.0.1 * 端口号的范围为0-65535之间,0-1023之间的端 ...
- 使用PXE+Kickstart无人值守安装系统
PXE预启动执行环境(即Preboot execute environment) 是一种能够让计算机通过网络启动的引导方式,只要网卡支持PXE协议即可使用,用于在无人值守安装系统服务中引导客户机安装服 ...
- 从零開始学android<AnalogClock与DigitalClock时钟组件.三十一.>
这两个组件比較交单,大家看下会使用即可了 XML文件配置 <span style="font-size:18px;"><RelativeLayout xmlns: ...
- 使用maven-assembly-plugin打包zipproject
使用Maven对Web项目进行打包.默觉得war包.但有些时候.总是希望打成zip包(亦或其它压缩包,类似tomcat的那种文件夹结构,直接运行bin/startup.sh就能够),maven-war ...
- ios中屏幕适配
- (void)viewDidLoad { [super viewDidLoad]; // 左上角 // 固定左边和上边,伸缩右边和下边 self.leftTop.autoresizingMask = ...
- Swift3 JSON字符串和字典互转(JSON字符串转字典和字典转JSON字符串)
直接上代码吧 1.JSONString转换为字典 /// JSONString转换为字典 /// /// - Parameter jsonString: <#jsonString descrip ...
- ubuntu安装wkhtmltopdf
下载安装wkhtmltox系统环境 http://wkhtmltopdf.org/downloads.html wget https://bitbucket.org/wkhtmltopdf/wkhtm ...
- Linux MySQL 4G内存my.cnf配置表(转)
# The following options will be passed to all MySQL clients[client]character-set-server = utf8 #### ...
- mysql常用查询语句
一.查询指定schema下表的个数 select count(TABLE_NAME) from information_schema.tables where table_schema="d ...
- Easyui中 messager出现的位置
$.messager.alert 弹出框的位置随页面的长度越大越靠下. $.messager.alert('消息','只能对单个客户进行清款!','info'); 弹出的位置 太靠下方.修改为: $. ...