Fix memory management for toggle-ref
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 13 Mar 2014 22:47:26 +0000 (18:47 -0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 26 Aug 2015 20:19:59 +0000 (23:19 +0300)
commit0d482e8754623564ecd697a8e70aa8a7549a79da
treebe10327f8ce4c5ca41598c49f2bfa0884b3b7b9d
parent5ae0aed4befd61980cb9930a982e37c051be1d5d
Fix memory management for toggle-ref
(Apply commit 960f233 from 'mono_libgc' branch.)

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.
finalize.c