关于garbage collection
下面是一本英文书上关于垃圾回收的讲解,使用传统的mark-sweep算法。但我看不大懂,希望您能翻译一下:
When discussing garbage collection algorithm, the term reachable is used to describe objects that are in use. The idea is that active objects in memory find a huge interconnected web; any object on that web can be reached by traversing from another object that is in use. If no objects refer to an object, then that object is unreachable, and can therefore be removed from memory.