garbage collector vs scavenger

garbage collector

noun
  • A worker who removes refuse. 

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

scavenger

noun
  • Someone who scavenges, especially one who searches through rubbish for food or useful things. 

  • A child employed to pick up loose cotton from the floor in a cotton mill. 

  • An animal that feeds on decaying matter such as carrion. 

  • A substance used to remove impurities from the air or from a solution. 

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