refactoring: move GC specific code in GCParser