]> granicus.if.org Git - gc/commit
Turn on incremental collection in gctest also if DEFAULT_VDB or MANUAL_VDB
authorIvan Maidanski <ivmai@mail.ru>
Mon, 7 May 2018 05:20:57 +0000 (08:20 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 7 May 2018 05:24:43 +0000 (08:24 +0300)
commit7924905759fe3b259b04ac8f66ee54c9a6498f4f
treecbba9e83b34cbc4c54b69f06221e5dc294d18623
parent59f36b056a521f51fb46383dc1053be54940e1b1
Turn on incremental collection in gctest also if DEFAULT_VDB or MANUAL_VDB

* tests/test.c [DEFAULT_VDB] (TEST_DEFAULT_VDB): Define (before include
gc.h).
* tests/test.c [!GC_DISABLE_INCREMENTAL] (main): Call
GC_enable_incremental also if MANUAL_VDB or TEST_DEFAULT_VDB; print
message about emulating dirty bits with mprotect only if MPROTECT_VDB.
tests/test.c