Update getResult in GarbageCollector