Ant Group Interview Question

Explain how thread pool work

Interview Answer

Anonymous

Jan 11, 2026

Creating a pool of thread and execute tasks whenever threads are not occupied, it goes to pool and execute the task until all the waiting takes in the queues are cleared and stays idle in pool, so this way no need to create because everytime thread is created it uses high consumption of memory