The cgcDesc and gcdDescSeries classes are wrappers laid on top of an object's MethodTable to simplify access. The MethodTable is laid out in class.cpp's EEClass::BuildMethodTable(). For most objects, EEClass::PlaceInstanceFields() lays out the object's fields, and is responsible for creating the pointer series stuff.
Barry This posting is provided "AS IS" with no warranties, and confers no rights. -----Original Message----- From: Discussion of the Rotor Shared Source CLI implementation [mailto:[EMAIL PROTECTED] On Behalf Of Archana Sent: Friday, June 27, 2003 6:03 AM To: [EMAIL PROTECTED] Subject: [DOTNET-ROTOR] using the go_through_object macro Hi, this is regarding the scan-part of the gc wherein each object is recursively scanned for either marking or copying. The go_through_object macro seems to give a handle to each child of object say A, that itself is an object i need information about the offset at which this "child object" is present relative to A. i tried debugging, putting lots of print statements but still i am not able to figure out the organization of cgcDesc class it would be of immense help if someone can explain how we can get this offset and also how the pointer map is stored in the cgcDescSeries class thank you, archana