Hello,

I'm having a problem with the heap_segment header.
In the program I'm executing right now there's only one segment allocated
so far. This segment starts at address 0x00af0000, and the reserved field
contains 0x01af0000, exactly what is allocated in the function
make_heap_segment.

The problem is this: when analyzing the roots scanned by GcScanHandles I've
found two references 0x01af0018 and 0x01af0840; these 2 references are
bigger than the reserved pointer, but as I've already told, there's only
one segment shared by the two generations, so they're supposed to point to
this segment. These objects will be marked and if they have internal
pointers these ones will be followed, marking the subsequent objects.

But later in sweep_phase the range covered is from heap_segment_mem to
heap_segment_allocated, so these objects will not be treated.

They seem to be out of the segment for some reason, since segment_size is
0x01000000. Why is that? If this is not the real size of the segment, how
can I find it out?

Thank you very much in advance.
Albert Miranda

===================================
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

Reply via email to