runDataStoreGarbageCollection - This will trigger the data store garbage collection.
startRevisionGC() - This will trigger oak revision cleanup(Compaction) which should not be run on AEM version 6.2 and below.
To answer your question, you need to run "runDataStoreGarbageCollection" to run datastore Garbage collection.
You can find other ways of running DSGC at [1]
That being said, AEM 6.1 is out of support, please upgrade to the latest version of AEM.
[1] Data Store Garbage Collection