0

我有一个使用cachedThreadPool(的服务器端应用程序Executors.newCachedThreadPool。但是我可以看到由于频繁的 GC 可能会从 清理线程而导致性能下降cachedpool。有没有办法针对这种情况调整 GC?

4

1 回答 1

0

I don't know your exact case. Garbage collection logs will be helpful.

You can find out garbage collection tuning here.

Good explanations about your case can possibly found here

于 2014-03-04T11:19:36.073 回答