开发者

Flex 4 - What makes a GC root?

开发者 https://www.devze.com 2022-12-26 02:08 出处:网络
What are the rules for something to be a GC root in Flash? I\'m using the Flash Builder 4 profiler, and I\'m finding odd things are labeled as GC roots in the object reference details (e.g., 开发者_运

What are the rules for something to be a GC root in Flash?

I'm using the Flash Builder 4 profiler, and I'm finding odd things are labeled as GC roots in the object reference details (e.g., 开发者_运维问答an Image control that is no longer in the display list, nor static).


This discussion might be helpful.

http://tech.groups.yahoo.com/group/flexcoders/message/144288

Apparently there is some depth from the root at which the profiler just stops displaying the rest of the chain and labels the object as a GC root even though there is more chain above it.

0

精彩评论

暂无评论...
验证码 换一张
取 消