但是这也带来一个问题——如果更老一代中的对象引用一个不能通过从根开始的所有其他引用链到达的更年轻的对象该怎么办?
But this creates a problem — what if an object in the older generation references a younger object, which is not reachable through any other chain of references from a root?
分代跟踪收集器从根集开始,但是并不遍历指向更老一代中对象的引用,这减少了要跟踪的对象图的大小。
A generational tracing collector starts from the root set, but does not traverse references that lead to objects in the older generation, which reduces the size of the object graph to be traced.
从90年代开始,农民就开始向城市迁移,但是赫斯基认为最近几年迁移人口开始快速增长,并且农民也更容易在城里扎下根来。
Farmers have been migrating to cities since the 90s, but Hesketh believes the Numbers have soared in recent years and it has become easier for migrants to settle in the cities.
应用推荐