core: add stat-reporting to gc