for each objectin allocatedObjectList:
clearing the mark bit
// 所以对象是8字节的倍数,遍历还可以跳着来
DFS starting from GC-Roots:
set the reached object mark bit
for each objectin allocatedObjectList:
if mark bit hasn't setted:
remove it from allocatedObjectList
开头吐槽一句:当初被Java骗的呀,什么自动内存管理,到头来还是都要学的。还不如直接去学C++呐。第六章:理解垃圾收集标记-清除for each object in allocatedObjectList: clearing the mark bit // 所以对象是8字节的倍数,遍历还可以跳着来DFS starting from GC-Roots: set the reac