2013年8月26日

GC分析中提到的根对象是什么

摘要: 一些文章在分析GC时,不可逾越的说到要先从根对象扫描出不可达对象,然后标记那些不可达对象为垃圾。那么源头根对象是什么玩意呢?几分钟后google到比较可信源是http://stackoverflow.com/questions/8458886/what-is-a-rooted-reference。其解释具体为:GC roots are not objects in themselves but are instead references to objects. Any object referenced by a GC root will automatically survive the 阅读全文

posted @ 2013-08-26 12:06 arg 阅读(2218) 评论(0) 推荐(0) 编辑

导航