From 9bd670c6f3c0b6c93cd3857fe958e88217052f8d Mon Sep 17 00:00:00 2001 From: hboehm Date: Wed, 3 May 2006 00:50:22 +0000 Subject: [PATCH] 2006-05-02 Hans Boehm * tests/middle.c: Add GC_INIT() call. --- doc/README.changes | 3 +++ tests/middle.c | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/README.changes b/doc/README.changes index e8e4cf5e..e923beb0 100644 --- a/doc/README.changes +++ b/doc/README.changes @@ -2503,6 +2503,9 @@ Since gc7.0alpha5 - Removed serious bug in GC_malloc_uncollectable(large size). - Do not try to do thread-local gcj allocation in incremental mode. There are races in setting up the descriptor. + - Add GC_INIT() to middle.c, fix some more GC_printfn calls. + - Some assertions erroneously used I_HOLD_LOCK() negatively, eventhough + it can now spuriously return TRUE. To do: - REDIRECT_MALLOC and threads combination is getting closer, but currently diff --git a/tests/middle.c b/tests/middle.c index 5d9360af..ebb348c4 100644 --- a/tests/middle.c +++ b/tests/middle.c @@ -10,6 +10,7 @@ int main () int i; GC_all_interior_pointers = 0; + GC_INIT(); for (i = 0; i < 20000; ++i) { GC_malloc_atomic (4096); -- 2.40.0