You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "xlq20080808 (via GitHub)" <gi...@apache.org> on 2023/06/12 02:05:18 UTC

[GitHub] [dubbo] xlq20080808 commented on issue #12493: 未及时释放FutureContext造成频繁GC问题

xlq20080808 commented on issue #12493:
URL: https://github.com/apache/dubbo/issues/12493#issuecomment-1586465800

   > > 3.1.8版本:
   > > Dubbo协议、Triple协议都没有及时清除FutureContext
   > 
   > 这个 getAndRemote 之后只是为了还原信息,需要看下第一个把环境污染的行为是什么,不然每一次 get 都应该是空的
   
   应该是不同协议分别在这两处第一次将future设置进了InternalThreadlocal
   Triple调用
   org.apache.dubbo.rpc.protocol.tri.TripleInvoker#invokeUnary
   <img width="1140" alt="image" src="https://github.com/apache/dubbo/assets/33999699/24b7446c-f4cd-435b-8af9-20a99ba5c2a8">
   
   Dubbo调用
   org.apache.dubbo.rpc.protocol.dubbo.DubboInvoker#doInvoke
   <img width="1152" alt="image" src="https://github.com/apache/dubbo/assets/33999699/73e11d27-ea4e-4726-89a8-48290d65c8b1">
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org