关于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.

这其实是垃圾回收的基本原理。只能给你大概意思:

在内存中的对象群象个互相联系的大网,任何处于这个网中的对象都可以被另外一个正在使用的对象横向访问(竖向是用户端访问对象),如果没有对象指向另外一个对象,那就是意味着那个对象是不可访问的,它就会被从内存清除。

说白了,就是说,内存中的对象不可访问时才被从内存中清除,但这个不可访问的概念有两层,一个就是通常概念:用户不再使用这个对象;还有一个就是也没有其他对象使用这个对象了,上文主要是阐明这个意思。

希望对你有帮助