/** * The main pool control state, ctl, is an atomic integer packing * two conceptual fields * workerCount, indicating the effective number of threads * runState, indicating whether running, shutting down etc */ privatefinalAtomicIntegerctl=newAtomicInteger(ctlOf(RUNNING, 0));