Re: [ADVANCED-DOTNET] Is object rooted?

2003-08-14 Thread Pinto, Ed
Yes I mean reachable from a root. snipIf it was able to determine whether objects were reachable without performing a GC, it wouldn't need to do most of the work involved in performing a GC!/snip Interesting. I thought that the graph calculation was comparatively less expensive than compacting

Re: [ADVANCED-DOTNET] Is object rooted?

2003-08-14 Thread Pinto, Ed
Interesting. I thought that the graph calculation was comparatively less expensive than compacting the memory. Yes, they are. BUT they are done in the cylce of the GC. They are not tracked when the GC is not running. Otherwise all the ref counting would add up to a lot of work. And introduce

Re: [ADVANCED-DOTNET] Is object rooted?

2003-08-14 Thread Thomas Tomiczek
-Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Pinto, Ed Sent: Freitag, 8. August 2003 03:09 To: [EMAIL PROTECTED] Yes I mean reachable from a root. snipIf it was able to determine whether objects were reachable

Re: [ADVANCED-DOTNET] Is object rooted?

2003-08-08 Thread Thomas Tomiczek
You can not know. The GC does not know either, until it runs. Rooting information is not tracked during program execution. What do you try to achieve? Thomas Tomiczek THONA Software Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- From: Moderated discussion of advanced