xqj-0511

Results 2 comments of xqj-0511

mark一下,我也遇到该问题了。原始执行方法耗时并不长,才11ms。但是trace打印出来的 ---[99.70% 124.742957ms ] org.aspectj.lang.ProceedingJoinPoint:proceed() +---[99.82% 124.393074ms ] org.springframework.cglib.proxy.MethodInterceptor:intercept() 只能追踪到AOP,然后调用到joinPoint.proceed()方法。直接用trace追踪原始方法也只能打印出一部分。不知道剩余的耗时被谁占用了。 ![image](https://github.com/alibaba/arthas/assets/48231524/4ddf31bd-c5cb-4f96-a129-12727b293683) 看不到剩余的部分耗时,就很捉急,哈哈

> 一、线程池 1)nacos-grpc-client-executor线程:com.alibaba.nacos.common.remote.client.grpc.GrpcClient#connectToServer > > ``` > int threadNumber = ThreadUtils.getSuitableThreadCount(8); > grpcExecutor = new ThreadPoolExecutor(threadNumber, threadNumber, 10L, TimeUnit.SECONDS, > new LinkedBlockingQueue(10000), > new ThreadFactoryBuilder().daemon(true).nameFormat("nacos-grpc-client-executor-%d") > .build()); > grpcExecutor.allowCoreThreadTimeOut(true); >...