[core] gc engine: immunity by option