summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-08-04 10:08:09 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-08-05 08:28:53 +0300
commit12c142f2b0b6675420eafcbcf9b53db0d9617d19 (patch)
tree795ca8010243b601627ba3689d148ffc0406bdb9 /tests
parentf3a2a1bb9285f4aabf5f4564649db0fef609c3b3 (diff)
downloadbdwgc-12c142f2b0b6675420eafcbcf9b53db0d9617d19.tar.gz
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).
Diffstat (limited to 'tests')
-rw-r--r--tests/gctest.c1
1 files changed, 1 insertions, 0 deletions
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);