随笔分类 -  jvm

摘要:什么是零拷贝 WIKI中对其有如下定义: "Zero-copy" describes computer operations in which the CPU does not perform the task of copying data from one memory area to anot 阅读全文
posted @ 2021-03-10 10:03 Garrett_Wale 阅读(806) 评论(0) 推荐(0) 编辑
摘要:面试官: Java并发这块了解的怎么样?说说你对volatile关键字的理解 就我理解的而言,被volatile修饰的共享变量,就具有了以下两点特性: 1.保证了不同线程对该变量操作的内存可见性; 2.禁止指令重排序 面试官: 能不能详细说下什么是内存可见性,什么又是重排序呢? 这个聊起来可就多了, 阅读全文
posted @ 2021-03-07 21:45 Garrett_Wale 阅读(445) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示