You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/03/24 10:07:56 UTC

[GitHub] jackychee commented on issue #985: grpc-1.x-plugin throw ClassCastException in gRPC-java v1.10.0

jackychee commented on issue #985: grpc-1.x-plugin throw ClassCastException in gRPC-java v1.10.0
URL: https://github.com/apache/incubator-skywalking/issues/985#issuecomment-375864560
 
 
   aha, i found it solved.  I have another solution that use ThreadLocal to keep ClientCallImpl instance temporarily in interceptor of  ClientCallImpl's constructor, so we can get it in ManagedChannelInterceptor's afterMethod, to avoid memory leak risk, we should use SoftReference to wrap ClientClallImpl instance before put it in ThreadLocal.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services