From ab47bfc7720770d172b99a9eb96b9cf1ff962f12 Mon Sep 17 00:00:00 2001 From: akira <‘18768122321@163.com’> Date: Fri, 26 May 2023 23:55:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E6=94=B6=E9=9B=86old=20gen=E7=9A=84GC?= =?UTF-8?q?=E3=80=82=E5=8F=AA=E6=9C=89CMS=E7=9A=84concurrent=20collection?= =?UTF-8?q?=E6=98=AF=E8=BF=99=E4=B8=AA=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 741e6f4..9ffe455 100644 --- a/README.md +++ b/README.md @@ -615,6 +615,8 @@ ``` ### ZGC +- [从历代GC算法角度刨析ZGC](https://zhuanlan.zhihu.com/p/603800743) + - [ZGC 读屏障过程](https://zhuanlan.zhihu.com/p/43608166) 通过染色指针技术和读屏障,使得用户线程在读对象时能够总是读取到对象最新的引用。 @@ -1492,7 +1494,7 @@ ## SOCKET -- `epoll` 底层实现 +- [`epoll` 底层实现](https://mp.weixin.qq.com/s?__biz=Mzg2MzU3Mjc3Ng==&mid=2247483737&idx=1&sn=7ef3afbb54289c6e839eed724bb8a9d6&chksm=ce77c71ef9004e08e3d164561e3a2708fc210c05408fa41f7fe338d8e85f39c1ad57519b614e&scene=178&cur_album_id=2217816582418956300#rd) 进程的数据结构为 `task_struct`, 其中的files指针属性指向一个数组,也就是内核为进程维护的打开文件表。打开文件表中存放的是 `struct file` 结构体,数组的下标则是我们常说的文件描述符 `fd`。