Merge "Fix GC race condition in visit roots"