Many modern runtimes, including Swift and Python, employ hybrid garbage collection, using reference counting for eager deallocation and combining it with a tracing collector to handle cyclic references and optimize overall throughput.
Open the full topic