Re: Simple question on memory behavior

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Tyson Brown (tyson.brown.REM0VE_at_sbcglobal.net)
Date: 05/10/04


Date: Mon, 10 May 2004 10:11:06 -0700

Mattias,

Thanks for responding.

>>> a) If so, does this mean that tmpPage object lasts the duration of the page too, regardless of Line5?

>> No.

Could you explain this? I had always thought that assigned on ref type to another variable or property, would keep the original object around because the GC says, "sorry there is still information in use, I can't clean you up, try Gen 1 (or God forbid, Gen 2)". Is this wrong? By marking the object as null, even though the value still exists in memory through another pointer, the original object is indeed collected?

I apologize for the ignorance, I am just really trying to get my brain around this and understand GC.

Thanks,

Tyson



Relevant Pages

  • Re: Myth-Based Condemnations are Cruelty
    ... criminalized, due to such ignorance as yours, Lisa. ... "Readers of Brain may find the two contributions on cognitive neuroscience of particular ... that which they seek, in desperation. ... "it is possible to fake a poor performance without formulating a conscious and intentional ...
    (rec.equestrian)
  • Further Feeble Five Flounderings
    ... > jumping from the Tennessee Militia to the Air Force's CAP program is ... My changes in MARS affiliations were not "rapid", Brain. ... >>> Now all you have to do is apologize. ... > For repeatedly posting about RRAP Mark's sexuality and religion. ...
    (rec.radio.amateur.policy)
  • Re: CHEAP EATS
    ... family in the siting and development of casinos in Atlantic City." ... Ignorance bothers me. ... not even being able to give a cite in the book you supposedly read, ... If you cannot, apologize and go away. ...
    (alt.vacation.las-vegas)
  • Re: Human family tree is a tangled, messy bush
    ... we want brain size to increase in lock step with tool use, ... ridicule belief in giants go back and apologize after we finally dig ... and agriculture a couple more thousand years and "discover" that the ... It's amazing to me how people still ridicule the belief in "lost ...
    (sci.anthropology.paleo)
  • total Newbie question
    ... I apologize in advance for my ignorance. ... I can edit this HTML page. ... the validated userName to a ColdFusion page on a different Linux ...
    (comp.lang.perl.misc)