拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
Generally, thread pools are used as singletons.
private static final ExecutorService executors = Executors.newCachedThreadPool();
There are already two thread pool instances in your code. So it showed up pool-2.
pool-2
Dear, this happened to me too, how did you solve it?
Generally, thread pools are used as singletons.
There are already two thread pool instances in your code. So it showed up
pool-2
.Dear, this happened to me too, how did you solve it?