We're working in a project related to GC in SSCLI. Right now we need to identify which data in the stack are references and which are not. We've been following the GC's work, as it goes from CNameSpace::GcScanRoots, passing through StackWalkFramesEx to Frame::GcScanRoots and finally into MetaSig::GcScanRoots.
We believe we've reached the point where a reference is identified and therefore will be marked. Our question is: are we right about this? and if so which 'case' of the switch must be look at if we want to identify all the references to GCHeap within a Thread's stack? Finally, if we scan through all Threads copying all these references to an auxiliar structure, will we have all the references needed to locate all dead objects within the GCHeap? Thank you very much for your patience. RSVP =================================== This list is hosted by DevelopMentorŪ http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com