From: Ivan Maidanski Date: Thu, 24 May 2018 08:05:35 +0000 (+0300) Subject: Turn on incremental mode in test_cpp X-Git-Tag: v8.0.0~164 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94c71cae2230f7acd4b9e8fd404ff7e5654640b3;p=gc Turn on incremental mode in test_cpp * tests/test_cpp.cc [!NO_INCREMENTAL] (main): Call GC_enable_incremental after GC_INIT. --- diff --git a/tests/test_cpp.cc b/tests/test_cpp.cc index d1146d9b..23910741 100644 --- a/tests/test_cpp.cc +++ b/tests/test_cpp.cc @@ -281,6 +281,9 @@ void* Undisguise( GC_word i ) { /* needed due to C++ multiple inheritance used */ GC_INIT(); +# ifndef NO_INCREMENTAL + GC_enable_incremental(); +# endif int i, iters, n; # ifndef DONT_USE_STD_ALLOCATOR