Re[3]: [Gc] Problem with GC on FreeBSD

Ivan Maidanski ivmai at mail.ru
Sun Apr 29 05:15:31 PDT 2012


Hi Petter,

But do we need the whole functionality of GC_start_debugging for it? (I guess it degrades performance when if you dont use GC_debug API routines.)

Regards.

Sun, 29 Apr 2012 13:37:11 +0200 Petter Urkedal <urkedal at nbi.dk>:
> HI Ivan,
> 
> On 2012-04-28, Ivan Maidanski wrote:
> > Sorry for the delay.
> 
> No problem.
> 
> > To my current understanding, the problem caused by missing GC_register_displacement(sizeof(oh)) (i.e. light "debugging_started") in GC_store_debug_info_inner. What do you think? (I guess I'll have some time to check your test case with such a fix tomorrow).
> 
> Indeed, there were missing calls to GC_start_debugging in
> GC_debug_generic_malloc_inner in
> GC_debug_generic_malloc_inner_ignore_off_page.  I just copied the
> pattern from the other allocation functions:
> https://github.com/paurkedal/bdwgc/commits/fix-freelist-check-and-specific
> 
> It seems to work now on my end, including the disclaim_test.
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
> 



More information about the Gc mailing list