This screenshot is from VisualVM profiler for a Apache CXF RESTful web service. What we see here is call stack between a service entry point SomeClass.total() and HelperClass.process(). HelperClass is spring injected instance variable. Below is the sample code. Does anybody know what is the $Proxy322.total() doing for 945 seconds (16 mins)?
you can see the time taken on the right side. Whatever the helper.process() method does, it only takes about 6 seconds.. The remaining 939 seconds are spent between the first line of the code and actual invocation of the process() method
I have no clue why or where the Proxy come from. I was thinking it's from Spring. The first blacked out line in the image is com.test.SomeClass.total() from the snippet - that's what before the proxy. I see this happening various places in the application where there is spring injection