Home > Q&A > body text
黄舟2017-04-18 10:48:15
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
阿神2017-04-18 10:48:15
Dear, this happened to me too, how did you solve it?