Add long links support to Boehm.
authorRodrigo Kumpera <kumpera@gmail.com>
Wed, 16 Jan 2013 19:58:56 +0000 (14:58 -0500)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 16 Jan 2013 21:10:46 +0000 (16:10 -0500)
commit5a1eeba27ee3febd3dc9d989db6b750cdb5bc3e4
tree7f0a88f2011d4165cc1284a37b610b5b1fc1a1a1
parent3fa0abaca8deb2609c104888df8039f021d7a4cd
Add long links support to Boehm.

* gc.h: Added parts of boehm 7.3a long link API.

* finalize.c (GC_finalize): Implemented long link support by adapting
code from boehm 7.3a.
The idea is to have two table of links, one for regular and another
for the long links. Regular links are processed before finalization
and the long ones right after. The bulk of the changes are abstracting
the disappearing link hashtable into a data structure so we can have
two of them.

Boehm code came from github.com/ivmai/bdwgc.git. Authors of the
relevant changes are Zach Saw and Ivan Maidanski.
libgc/finalize.c
libgc/include/gc.h