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

biosli biosli at hotmail.com
Wed Jul 14 03:57:44 PDT 2010


Hi, Ivan:

Ivan Maidanski <ivmai at ...> writes:

> 
> 
> Wed, 14 Jul 2010 10:16:48 +0000 (UTC) biosli <biosli at ...>:
> 
> > Hi, Hans:
> > 
> > Boehm, Hans <hans.boehm at ...> writes:
> > > ...
> > > I second Ivan's question about whether GC_DEBUG was defined and 
allocation 
> > was done through the (all
> > > uppercase) macros.
> > 
> > Macro GC_DEBUG was defined.
> > 
> > The function GC_save_callers has called, and GetStackFramesFromContext has 
> > called also.
> > 
> > But GC_HAS_DEBUG_INFO(p) (called by GC_default_print_heap_obj_proc) always 
> > return FALSE, so GC_print_obj not work.
> 
> You mean GC_has_other_debug_info() always return FALSE, right? Could you 
tell us what the condition is
> hit in GC_has_other_debug_info that the latter returns false?
> 

GC_debug_print_heap_obj_proc calls GC_HAS_DEBUG_INFO(p), and return false 
because (sz < DEBUG_BYTES + EXTRA_BYTES).




More information about the Gc mailing list