Use Vec<T>
for keeping track of gc objects
#3493
Merged
Vec<T>
for keeping track of gc objects
#3493