You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "wu-sheng (via GitHub)" <gi...@apache.org> on 2023/08/20 13:40:08 UTC

[GitHub] [skywalking] wu-sheng commented on issue #11239: optimize the method Tags#ofKey using the computeIfAbsent function to retrieve the present key in JDK 8

wu-sheng commented on issue #11239:
URL: https://github.com/apache/skywalking/issues/11239#issuecomment-1685288447

   But when I am looking at JDK 11, it seems already changed. 
   
   <img width="824" alt="image" src="https://github.com/apache/skywalking/assets/5441976/8d081b28-adb9-4736-97ed-fb5e770507f6">
   
   Compared to this change, actually, if you move `Tags.ofKey` as a static field in the plugin, it should be much faster.
   
   I don't think this change would help a lot AFAIK.


-- 
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@skywalking.apache.org

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