There is also a presentation on my blog.  As long as there is one strong 
reference the object will not be GC'd.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of Nick Middleweek
Sent: Thursday, January 07, 2010 11:16 AM
To: [email protected]
Subject: [flexcoders] garbage Collection articles



Hi,

Can anyone recommend a good read for garbage collection and when it kicks in, 
how it works, etc?...

I'm particularly interested in learning about what happens to variables/ 
objects that are declared in a local function but are assigned to the global 
'Model', then the function ends so the local variable, I guess dies with it... 
Am I right to assume that because that Object is still referenced by the global 
'Model' the Object in memory is kept and not garbage collected.

I'm interested in how it works as I'm sure it'll help my coding with better 
understanding...


Thanks,
Nick

Reply via email to