VM里所有能获得的对象能够通过跟踪被叫做垃圾回收根树的对象参考树来找到。
All reachable (and therefore live) objects in the VM can be found by tracing this tree (or trees) of object references called the GC root tree.
如果一个对象不能通过跟踪根树来找到,那么对象是不可到的,它可以被GC再生。
If an object cannot be found by tracing the root trees, then that object is unreachable and therefore can be reclaimed by the GC.
该归档文件很可能创建为现有文件系统树的直接(局部)映像,所以自然可以用有根树表示。
This archive was probably created as the direct (partial) image of an existing filesystem tree, and is naturally represented by the rooted tree.
So Rituparna tries to prove to him his abilities and he says, see that tree there, I can estimate how many leaves there are on that tree by counting leaves on one branch.
所以睿都巴若那就试图证明自己的能力,他说,看那边的树,我只需数一根枝杈上的叶子,就能估算出树上叶子的总数
The point I wanted to make is that for every node, except the leaves, the leaves are the bottom of a tree in this case, are weird, right, they draw trees where the root is at the top, and the leaves are at the bottom.
你没必要看到整棵树,我想说的重点是,对每个节点来说,除了叶子节点,叶子节点指的是树的最下面的节点,电脑科学家都很奇怪,他们画树的时候根是在最上面的。
应用推荐