JDK自带线程池 线程池的状态 线程有如下状态 RUNNING状态:Accept new tasks and process queued tasks SHUTDOWN状态:Don't accept new tasks, but process queued tasks STOP状态: Don't accept new tasks, don't process queued tasks, and interrupt in-progress tasks TIDYING状态:All tasks ha…