I am profiling my application running on tomcat using visualvm
. I am calling one of the REST web service method which creates 5000 records into HBase and returns successful and failed count to the client.
After running visualvm CPU sampler I found out that org.apache.tomcat.util.threads.TaskQueue.take()
is the hotspot method. Here is the screenshot of the hotspot methods.
Does anyone know how to deal with this hotspot method?
This is not a hot spot. Take a look at Self time (CPU)
column - the method does not burn CPU, it just waits on a Condition
object.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With