]> granicus.if.org Git - gc/commit
Do not rebuild_root_index unless remove_root_at_pos is called
authorIvan Maidanski <ivmai@mail.ru>
Fri, 4 May 2018 20:28:22 +0000 (23:28 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 4 May 2018 21:37:11 +0000 (00:37 +0300)
commit066a258133947bde0ae78d8816bdf4dd6bb913cc
treec441570034e1a9186bd20b9af2797a6884360252
parentc134bc41d2d8736222a35a50dd93a23d244f1151
Do not rebuild_root_index unless remove_root_at_pos is called

* mark_rts.c [!MSWIN32 && !MSWINCE && !CYGWIN32] (GC_remove_tmp_roots,
GC_remove_roots_inner): Call GC_rebuild_root_index() only if
GC_remove_root_at_pos() is called at least once.
mark_rts.c