标记阶段最后也没有标记的对象是应用程序不可获得的对象(死对象),因为不存在从根集经过任何引用序列找到这些对象的路径。
Objects that are unmarked at the end of the mark phase are unreachable by the application (dead) because there's no path from the root set through any series of references to find them.
现在他们正在回到家里,这个事业的泥瓦匠也是一个传教士,引用《传道书》说:“生有时,死有时;
Now they are returning home and the unemployed mason, who is also a preacher, quotes Ecclesiastes: "A time to be born and a time to die, a time to plant and a time to uproot.
有人曾引用古怪的Gaga说过的话,她说,她宁愿死都不愿粉丝们看不到她穿着这双个性的厚底鞋。
Crazy Gaga has been quoted saying she would rather die than have her fans not see her in a pair of high heels.
可以通过周期性地扫描Map,对每一个弱引用调用get,并在get返回null时删除那个映射而消除死映射。
Dead mappings could be eliminated by periodically scanning the map, calling get on each weak reference, and removing the mapping if get returns null.
为了支持他的观点,他引用了1996年LucianoRibeiro的案子,此人骑自行车时被一名白人司机碾死。
In support of his view, he cites the horrible case of Luciano Ribeiro, a cyclist who was run over and killed by a white driver in 1996.
为了支持他的观点,他引用了1996年LucianoRibeiro的案子,此人骑自行车时被一名白人司机碾死。
In support of his view, he cites the horrible case of Luciano Ribeiro, a cyclist who was run over and killed by a white driver in 1996.
应用推荐