Move `gray_list` update from `gc_mark_children`.
The responsibility moved to caller to avoid confusion. Currently the function is called from only 2 places, so it is relatively easy to ensure not to update `gray_list` in the caller. But the assumption may change in the future.
Showing
Please register or sign in to comment