auto commit

This commit is contained in:
CyC2018
2019-02-20 00:04:17 +08:00
parent 0cbc306a70
commit fca155be73
2 changed files with 14 additions and 4 deletions

View File

@ -222,6 +222,7 @@ obj = null;
<div align="center"> <img src="pics/3_2001550547558008.png"/> </div><br>
标记要回收的对象,然后清除。
不足:
@ -231,8 +232,10 @@ obj = null;
### 2. 标记 - 整理
<div align="center"> <img src="pics/2_2001550547456403.png"/> </div><br>
让所有存活的对象都向一端移动,然后直接清理掉端边界以外的内存。
### 3. 复制