![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
杂类
罗素的凝视
这个人很懒,没有留下任何签名
展开
-
DCL单例为什么要加Volatile
好记性不如烂笔头,仅以此记录 20200526 对象的创建过程 源码: class T{ int i = 8; } T t = new T(); 汇编码: 0 new #2 <T> 3 dup 4 invokespecial #3 <T.<init>> 7 astore_1 8 return 汇编码的大概意思: 0 (new 内存空间) --> 3 dup (压栈 一个对象引用,原栈中已存在一个) -->4...原创 2020-05-27 00:48:45 · 204 阅读 · 0 评论 -
端口占用
netstat -aon | findstr 8080 taskkill /pid 15276原创 2018-06-22 17:11:19 · 93 阅读 · 0 评论