Bug 873111 - Statically enforce root/child phase separation in cycle collector graph building. r=smaug