Please help me understand rootset and garbage collection

It’s not the same thing. You can read this to more info:
https://wiki.unrealengine.com/UPROPERTY