Capturing GC detials in TaskMetrics