它们都是增量型的(incremental)以缩短GC停滞的时间;它们还是分代的(generational),所以短时对象(short-lived object)回收得更快。
基于1个网页-相关网页
short-lived object 所以短时对象
POIDs provide a long lived object with a global identity that transcends space and time.
POID提供了一个生命期较长的对象,它的全局标识的作用域可以跨越空间和时间。
If the program creates many long-lived objects, lazy sweep may not be able to find a free object.
如果程序创建了许多长生命周期的对象,延迟清理可能无法找到自由对象。
The weak reference from the long-lived object to the short-lived object is kept long after the short-lived object has been destroyed.
在短周期对象销毁后,长周期对象对短周期对象的弱引用依然会长久保留下来。
应用推荐