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

Ivan Maidanski ivmai at mail.ru
Wed Jul 14 05:36:00 PDT 2010


Wed, 14 Jul 2010 11:43:03 +0000 (UTC) biosli <biosli at hotmail.com>:

> 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).

And what are that values (sz, DEBUG_BYTES, EXTRA_BYTES) when (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