Make the necessary changes to G1 and surrounding systems to enable it to trace the liveness of classes and other metadata and weak roots similarly to the other collectors.