This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<div id="header"> | |
<a href="javascript:document.getElementById('my_iframe').contentWindow.history.back();" target="iframe">返回</a> | |
</div> | |
<div id="main"> | |
<iframe id="my_iframe">内容</iframe> | |
</div> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
自旋锁 | |
自适应自旋 | |
锁消除 (eg 方法体内) | |
锁粗化 | |
轻量级锁 (CAS) | |
偏向锁 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jvm内存模型 | |
---JMM就是java解决多线程下内存共享的一个模型,与内存分区管理是不同的层面! | |
根据线程私有和线程共享来看: | |
线程私有: | |
---程序计数器:如果正在执行Java方法,则指向虚拟机字节码指令的地址,如果是native的,这个计算器的值为空。 | |
---虚拟机栈:保存本地变量、操作数栈、动态链接、方法出口等信息。为执行java方法服务。 |
OlderNewer