Refactor the garbage collection class initialization.

Change-Id: I977ee5045010a846098944d3e8048893ac550533
1 file changed