UE garbage collection

what is the principle of the GC in UE4
Is it base on tracing garbage collection like JAVA, or Reference counting like share_ptr of C++

should I worry about the reference cycles ?

shared pointers, all UPROPERTY() variables(varables that are visible in refrection system) are monitored too and you indeed need to watch out on reference cycles

But if the gc working with the shared pointers,why we can also set the interval time of gc.If the count of referenced is become zero,this UObject will be collection soon.