In the gcsmppriv.h file, we have

class heap_segment
{
public:
   BYTE* allocated;
   BYTE* committed;
   BYTE* reserved;
   BYTE* used;
   BYTE* mem;
   BYTE* plan_allocated;
   ...
}

In the documentations, 'used' field points to the end of the currently
initialized portion of the segment. Is this the same as points to the
beginning of Reserve area (within that particular segment)?

Also, 'mem' field is used to obtain the memory being used for object storage
in a segment. What does this mean? I thought the object storage can be done
in  gen_0 and gen_1.

What pointers in the 'heap_segment' class that point to the gen_0 header and
the beginning of Reserve area?


Thank you beforehand.


Memomana

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
ASP.NET courses you may be interested in:

Guerrilla ASP.NET
15 March 2004, in Boston, MA
17 May 2004 in Torrance, CA
7 June 2004, London, UK

http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to