[Gc] Newbie: how to deal with a giant linked list?

Andy Wingo wingo at pobox.com
Mon Dec 19 01:09:07 PST 2011


On Sun 18 Dec 2011 20:04, Jan Wielemaker <J.Wielemaker at vu.nl> writes:

> On 12/18/2011 01:15 PM, Andy Wingo wrote:
>> On Sun 18 Dec 2011 12:41, Jan Wielemaker<J.Wielemaker at vu.nl>  writes:
>>
>>> So	- Why does stuborn not help here?  Note that it does help
>>> 	  in places where we have large non-mutable objects.
>>
>> I think stubborn is deprecated.  From gc/gc.h:
>>
>>     /* Note that the GC_malloc_stubborn support doesn't really exist        */
>>     /* anymore.  MANUAL_VDB provides comparable functionality.              */
>>
>> Did you look at the MANUAL_VDB stuff in the source?  It might help.  I
>> don't know anything about that code though.
>
> Thanks.  I've seen that remark, but I failed to find a more high-level
> description on what MANUAL_VDB means.  What did I miss?

There's a comment somewhere in os_dep.c:2500 or so.  "VDB" apparently
stands for "virtual dirty bits".

Andy
-- 
http://wingolog.org/


More information about the Gc mailing list