[Gc] Large block uncollected ?

Klaus Treichel ktreichel at web.de
Mon Aug 11 10:00:15 PDT 2008


Am Montag, den 11.08.2008, 18:18 +0200 schrieb Nicolas Cannasse:
> Klaus Treichel a écrit :
> > Hi Nicolas,
> [...]
> >> It turns out that in GC_mark_and_push_stack, GC_base is called, which 
> >> returns the header of 0x00B90000. Is there a way to disable this 
> >> behavior ? I don't need to GC to check for any kind of displacement.
> > 
> > In this case you should try GC_MALLOC_ATOMIC_IGNORE_OFF_PAGE instead.
> 
> Reading more about the subject in README, it seems that I can also set :
> 
> GC_all_interior_pointers = 0;
> 
> Just after calling GC_init().
According to include/gc.h it has to be set before initializing the
garbage collector.

But this affects all allocated objects.

Klaus
> Would it work as well ?
> 
> Best,
> Nicolas
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://napali.hpl.hp.com/pipermail/gc/attachments/20080811/8fe5c0b2/attachment.pgp


More information about the Gc mailing list