从gc.h里面可以发现以下定义:
1.Turn on profiling(以后具体补充其作用)
#ifdef PROFILING_SUPPORTED
#define GC_PROFILING //Turn on profiling
#endif // PROFILING_SUPPORTED
2.Function Prototypes
/*
* Promotion Function Prototypes
*/
typedef void enum_func (Object*);
// callback functions for heap walkers
typedef void object_callback_func(void * pvContext, void * pvDataLoc);
// stub type to abstract a heap segment
struct gc_heap_segment_stub;
typedef gc_heap_segment_stub *segment_handle;
3.segment_info
struct segment_info
{
LPVOID pvMem; // base of the allocation, not the first object (must add ibFirstObject)
size_t