I have a server side application which uses cachedThreadPool
(Executors.newCachedThreadPool
. But I can see a drop in perfomance due to frequent GCs which might be cleaning the threads from cachedpool
. Is there any way to tune GC for this scenario?
Asked
Active
Viewed 71 times
0
-
Are you sure the GC is removing the threads? – user253751 Mar 04 '14 at 10:52
1 Answers
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

Community
- 1
- 1

Sagar Gandhi
- 925
- 6
- 20