lujiajing1126 commented on issue #6966:
URL: https://github.com/apache/skywalking/issues/6966#issuecomment-843685571


   > `isAssignableFrom` should be fine since JDK8. Performance is acceptable. 
You could run a benchmark to see which is better
   > 
   > 1. This way, `isAssignableFrom`
   > 2. Use 2 different keys in RuntimeContext and check NULL.
   
   Intuitively, I may prefer the second one. I will run a benchmark to compare 
the ThreadLocal get and `isAssignableFrom` method.


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to