]> granicus.if.org Git - gc/commit
All interior pointers must be enabled for finalized allocation.
authorPetter Urkedal <paurkedal@gmail.com>
Fri, 13 Jan 2012 18:31:50 +0000 (19:31 +0100)
committerPetter Urkedal <paurkedal@gmail.com>
Fri, 13 Jan 2012 18:40:45 +0000 (19:40 +0100)
commit97f113395e228567eec1f9105bccdd7d3db6c66e
treec90c6dde1ff8b93253bad44820e0ab740a1c8c47
parentcfdd1d5124cb9a0e90f4de988601320ed401662a
All interior pointers must be enabled for finalized allocation.

* include/gc_disclaim.h: Add note about all-interior-pointers requirement.
* fnlz_mlc.c (GC_init_finalized_malloc): Abort with a useful message if all
interior pointers are not enabled.
* tests/disclaim_bench.c, tests/disclaim_test.c: Enable all interior
pointers for tests.
fnlz_mlc.c
include/gc_disclaim.h
tests/disclaim_bench.c
tests/disclaim_test.c