Skip to content
This repository was archived by the owner on Jul 1, 2022. It is now read-only.

Conversation

@amirhadadi
Copy link
Contributor

@amirhadadi amirhadadi commented Sep 6, 2021

Looking at profiling results from some of our services, we see lock contention in JaegerSpan methods.
This change reduces locking in JaegerSpan.
It also removes Collections.unmodifiableXXX wrappers around copied collections.

Resolves #792

Looking at profiling results from some of our services,
we see lock contention in JaegerSpan methods.
This change reduces locking in JaegerSpan.
It also removes Collections.unmodifiableXXX wrappers around copied collections.

Signed-off-by: amirhadadi <amirhadadi@hotmail.com>
Signed-off-by: amirhadadi <amirhadadi@hotmail.com>
@codecov
Copy link

codecov bot commented Sep 7, 2021

Codecov Report

Merging #795 (2dbb7ac) into master (91469e3) will decrease coverage by 0.33%.
The diff coverage is 94.44%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #795      +/-   ##
============================================
- Coverage     89.01%   88.68%   -0.34%     
+ Complexity      605      604       -1     
============================================
  Files            73       73              
  Lines          2258     2245      -13     
  Branches        295      295              
============================================
- Hits           2010     1991      -19     
- Misses          157      161       +4     
- Partials         91       93       +2     
Impacted Files Coverage Δ
...ain/java/io/jaegertracing/internal/JaegerSpan.java 92.07% <94.44%> (-1.79%) ⬇️
...rtracing/internal/reporters/CompositeReporter.java 71.42% <0.00%> (-28.58%) ⬇️
...gertracing/internal/reporters/LoggingReporter.java 81.81% <0.00%> (-9.10%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 91469e3...2dbb7ac. Read the comment docs.

@yurishkuro yurishkuro merged commit 6ed8df2 into jaegertracing:master Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reducing locking in JaegerSpan

2 participants