With zero corePoolSize and unlimited queue it doesn't increase the pool size and it keep using one single thread. If the intention was an unlimited queue with limited thread usage and keepAlive functionality with zero minimal thread then this change looks right for that.
With zero corePoolSize and unlimited queue it doesn't increase the pool size and it keep using one single thread. If the intention was an unlimited queue with limited thread usage and keepAlive functionality with zero minimal thread then this change looks right for that.