[boehm] Fix memory management for toggleref.
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 13 Mar 2014 22:47:26 +0000 (18:47 -0400)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 13 Mar 2014 22:47:26 +0000 (18:47 -0400)
commitecf3c6499ab8b39f123d2e69f09e42508336b7ae
tree284f83361ba3b32596f24f0db7693e9a2d496c60
parent5dc84a1dcff4c94e0e7b072348a826e8ea061955
[boehm] Fix memory management for toggleref.

Replace GC_free with GC_INTERNAL_FREE. The former might take the GC lock
and deadlock us.

Replace GC_INTERNAL_MALLOC with GC_INTERNAL_MALLOC_IGNORE_OFF_PAGE as
we don't need the rest of the GC messing around with the toggleref array.
libgc/finalize.c