From 12c142f2b0b6675420eafcbcf9b53db0d9617d19 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 4 Aug 2022 10:08:09 +0300 Subject: New GC_count_set_marks_in_hblk API function Issue #460 (bdwgc). Note: available on if the collector is built without NO_DEBUGGING. * include/gc/gc_mark.h (GC_count_set_marks_in_hblk): New API function. * reclaim.c [!NO_DEBUGGING] (GC_count_set_marks_in_hblk): Implement. * tests/gctest.c [!PCR && !GC_WIN32_THREADS && !GC_PTHREADS && CPPCHECK && !NO_DEBUGGING] (main): Call UNTESTED(GC_count_set_marks_in_hblk). --- tests/gctest.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/gctest.c b/tests/gctest.c index c039f9e8..b57c9181 100644 --- a/tests/gctest.c +++ b/tests/gctest.c @@ -2144,6 +2144,7 @@ void enable_incremental_mode(void) UNTESTED(GC_gcj_malloc_ignore_off_page); # endif # ifndef NO_DEBUGGING + UNTESTED(GC_count_set_marks_in_hblk); UNTESTED(GC_dump); UNTESTED(GC_dump_regions); UNTESTED(GC_is_tmp_root); -- cgit v1.2.1