]> granicus.if.org Git - gc/commitdiff
Fix LARGE_BLOCK value used for hb_flags
authorIvan Maidanski <ivmai@mail.ru>
Sat, 21 Dec 2013 19:09:00 +0000 (23:09 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 21 Dec 2013 19:09:00 +0000 (23:09 +0400)
(fix commit a49b495)

* include/private/gc_priv.h (LARGE_BLOCK): Redefine to 0x20 (to avoid
collision with MARK_UNCONDITIONALLY defined in case of ENABLE_DISCLAIM).

include/private/gc_priv.h

index 87b66b2ac72d9bf421592d53f014140d2503ef6c..2aa95c5c141c6cf04286a4cb45e4949bfe7dca8c 100644 (file)
@@ -904,7 +904,7 @@ struct hblkhdr {
                                 /* reclaim notifier.                    */
 #       endif
 #       ifdef MARK_BIT_PER_GRANULE
-#         define LARGE_BLOCK 0x10
+#         define LARGE_BLOCK 0x20
 #       endif
     unsigned short hb_last_reclaimed;
                                 /* Value of GC_gc_no when block was     */