garbage collection vs garbage collector

garbage collection

noun
  • An automatic mechanism that frees up resources (such as allocated memory) that are no longer in use. 

  • A service, generally run by local government, for transporting household garbage to the appropriate facility. 

garbage collector

noun
  • An algorithm, procedure or thread dedicated to garbage collection: reclaiming resources which are no longer in use. 

  • A worker who removes refuse. 

How often have the words garbage collection and garbage collector occurred in a corpus of books? (source: Google Ngram Viewer )