kezhenxu94 opened a new pull request #4305: Performance tuning: replace AtomicInteger with AtomicIntegerFieldUpdater URL: https://github.com/apache/skywalking/pull/4305 ### Motivation: Reduce unnecessary memory allocation in frequently used class. ### Modifications: Replace the `AtomicInteger` with `AtomicIntegerFieldUpdater` ### Result: We can save 4 bytes (for the reference to `AtomicInteger` itself) for each `TracingContext`, which saves credible memory in a high-concurrent agent service.
---------------------------------------------------------------- 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] With regards, Apache Git Services
