2

Screenshots of the call tree and hot spots in the CPU View when profiling my application are given below. Can I say that cglib's MethodInterceptor.intercept() is a hotspot? It's not code that I wrote or even calling it directly, it's grails internal call. If yes, how do I fix it?

I know I should generally be looking at only the "Runnable" thread status. But, this only shows as a hotspot when the thread status is set to "Waiting" or "All States". Does that mean intercept() is waiting for some event to occur? How come it's this same method that's waiting in all the flows? And how to fix this issue?

Call Tree:

Hot Spots:

4

1 回答 1

3

MethodInterceptor 和 OrderService 之间存在未分析的类。尝试切换到“采样”并禁用所有过滤器,然后再次查看热点视图。

于 2013-05-15T07:43:14.293 回答