Add debug logging on data roots addition or removal (enabled by
authorIvan Maidanski <ivmai@mail.ru>
Thu, 26 Jan 2012 05:13:48 +0000 (09:13 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 26 Jan 2012 14:07:23 +0000 (18:07 +0400)
commit94ef2ff7ffb6afc8fad3248bd22e81bb43283676
tree0f32641055bd6882d929451031c2505328b8887d
parent3210b488b43e7d433c3ce4508005cfb41f97e43f
Add debug logging on data roots addition or removal (enabled by
DEBUG_ADD_DEL_ROOTS new macro)

* mark_rts.c (GC_add_roots_inner): Debug logging at adding new entry
to GC_static_roots (only if DEBUG_ADD_DEL_ROOTS).
* mark_rts.c (GC_clear_roots, GC_remove_root_at_pos): Add debug
logging (only if DEBUG_ADD_DEL_ROOTS).
mark_rts.c