本文介绍了寿命长和寿命短的对象之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在通过以下URL了解垃圾收集的基本知识

http://msdn.microsoft.com/en-us/library/ee787088.aspx [ ^ ]

在阅读本文期间,Garbage集合对两个不同的对象集(短寿命和长寿命)起作用,这两个对象集分布在各个世代中(第0到第2代).

我无法理解短期和长期对象的含义.如果有人对此提供帮助,这将非常有帮助.

Hi,

I was going through the fundamental of Garbage collection from the following URL

http://msdn.microsoft.com/en-us/library/ee787088.aspx[^]

During going through the article, it became quite prominent that the Garbage collection works on two different sets of objects (Short Lived and Long Lived) which are distributed among Generations (Generation 0 to 2).

I was unable to understand the meaning of Short Lived and Long lived objects. It will be really helpful, if someone helps me out in this.

推荐答案



这篇关于寿命长和寿命短的对象之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 14:55