Re[4]: [PATCH] Re: Found? Re: [Gc] Assertion failure in GC_malloc_uncollectabl

Ivan Maidanski ivmai at mail.ru
Tue May 15 03:39:44 PDT 2012


Hi Jan,

I'll spend more for this bug some days later and select the way to fix it.

Regards.

Tue, 15 May 2012 12:00:52 +0200 Jan Wielemaker <J.Wielemaker at vu.nl>:
> On 05/15/2012 11:21 AM, Ivan Maidanski wrote:
> >> My motivation to move this into GC_malloc_generic() was twofold:
> >> clearly
> >>> GC can come in between and it seems a waste to acquire the lock
> >>> twice for a single operation with only a few unlocked
> >>> instructions in between.
> 
> > I understand. But, the other alternative is to use lock-less
> > GC_generic_malloc_internal (not sure right now that its functionality
> > is the same as GC_generic_malloc).
> 
> I leave that decision to the experts.  I'm happy to test.
> 
> > BTW. We should also fix GC_malloc_atomic_uncollectable.
> 
> Looks like it is doing the same thing.
> 
> Thanks for looking into this.  I still like to run with gc assertions
> enabled as long as I'm developing.
> 
> 		--- Jan
> 
> 
> _______________________________________________
> 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