ThreadPoolExecutor初始化
一个ThreadPoolExecutor从初始化到执行需要经历如下几个环节。
ThreadPoolExecutor.execute
ThreadPoolExecutor.addWorker
new Worker(firstTask)
getThreadFactory().newThread(this)
new Thread(ThreadGroup group, Runnable target, String name, long stackSize)
init(group, target, name, stackSize)