We have a server application with java IO operations. When running the application, we have observed CPU usage for CompilerThread0 and CompilerThread1 taking 45% and 41% CPU. The application is serving IO to the clients at this time like connect, receive and send. As far as I explored related to this I found that the compilerthread is for JIT and for increasing performance.
My question is first, why it is taking much CPU for the compilerthreads and how to minimize this so that we can give CPU to other threads.
Thanks in advance!