What are core threads in a ThreadPoolExecutor?
问题 I was looking at the ThreadPoolExecutor class and I found that it allows to specify the maximum pool size and the core pool size. I understand, a little, about when to change the core and maximum pool sizes based on the answer here: When is specifying separate core and maximum pool sizes in ThreadPoolExecutor a good idea? However, I would like to know what are these 'core threads'. I always get 0 when I use the getCorePoolSize() method of a ThreadPoolExecutor SSCCE here: import java.util