[Gc] Re: Re: Re: FW: Re: Can not print call chain

biosli biosli at hotmail.com
Wed Jul 14 04:43:03 PDT 2010


Hi, Ivan:

Ivan Maidanski <ivmai at ...> writes:
> > GC_debug_print_heap_obj_proc calls GC_HAS_DEBUG_INFO(p), and return false 
> > because (sz < DEBUG_BYTES + EXTRA_BYTES).
> 
> Hmm... sz=GC_size(obj) which should be >= DEBUG_BYTES + EXTRA_BYTES if obj 
was allocated by GC_debug_...
> You do all your allocationa thru GC_debug_ (or GC_MALLOC... with GC_DEBUG 
on), right?
> 

Thanks your help and the patience.

Yes, all melloc and free call thru GC_debug_(such as malloc, free)



More information about the Gc mailing list