Java threading optimization at 100% CPU usage

前端 未结 5 1342
执念已碎
执念已碎 2021-02-11 02:42

I have an application that accepts work on a queue and then spins that work off to be completed on independent threads. The number of threads is not massive, say up to 100, but

5条回答
  •  旧巷少年郎
    2021-02-11 03:22

    You should keep 100% usage but with minimum number of threads. 100 threads looks too many.

提交回复
热议问题