add test file FlagSweepGCSimulator.cc to simulate the background thread
garbage collection