[core] gc engine: code clarification