我正在使用一个网络库,该库使用线程池将任务委派给专门的请求处理程序。在库的日志中,我看到以下内容:
[05.03.2010 16:11:27] [pool-3-thread-9] DEBUG ...
[05.03.2010 16:11:27] [pool-1-thread-447] DEBUG ......
[05.03.2010 16:11:27] [pool-1-thread-447] DEBUG ....
[05.03.2010 16:11:27] [pool-1-thread-440] DEBUG ..
线程 ID 正在缓慢上升,但内存使用量保持一致。这是否意味着这里正在使用缓存的线程池?那个 Thread ID 相当大,我希望这并不意味着应用程序中有超过 400 个空闲/工作线程。