]> granicus.if.org Git - gc/commit
Add assertion that no hb_n_marks underflow occurs
authorIvan Maidanski <ivmai@mail.ru>
Sat, 19 Aug 2017 15:46:59 +0000 (18:46 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 28 Sep 2017 08:18:19 +0000 (11:18 +0300)
commit61ef5aab37634c83d80b6d60cd586b4079f5a405
tree437eabf1d5db79caac7e981fef5ba7d78e9272cf
parent736ab397cf4019038c77bc9528a488773a4d47ba
Add assertion that no hb_n_marks underflow occurs

Issue #177 (bdwgc).

* alloc.c (GC_clear_fl_marks): Add GC_ASSERT that hhdr->hb_n_marks
is non-zero before decrementing it.
* mark.c (GC_clear_mark_bit): Likewise.
alloc.c
mark.c