Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the synchronization protocol of the InternalChannelRegistry #2212

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

cescoffier
Copy link
Contributor

Fix #2207:

  • Switched to CHM and CopyOnWriteArrayList instead of synchronized methods.

Based on this initial commit:
whitingjr@f9c5def

Switched to CHM and CopyOnWriteArrayList instead of synchronized methods.

Based on this initial commit:
whitingjr@f9c5def

Co-authored-by: Jeremy Whiting <[email protected]>
@cescoffier
Copy link
Contributor Author

@whitingjr are you ok with this one?

@cescoffier cescoffier added backport-3.x enhancement New feature or request core labels Jul 5, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jul 5, 2023

Codecov Report

Merging #2212 (cb0ba3f) into main (31375e6) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

❗ Current head cb0ba3f differs from pull request most recent head 4ffe0a1. Consider uploading reports for the commit 4ffe0a1 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #2212      +/-   ##
============================================
- Coverage     77.76%   77.74%   -0.03%     
- Complexity     3694     3731      +37     
============================================
  Files           301      311      +10     
  Lines         12307    12443     +136     
  Branches       1570     1579       +9     
============================================
+ Hits           9571     9674     +103     
- Misses         2020     2046      +26     
- Partials        716      723       +7     
Impacted Files Coverage Δ
...saging/providers/impl/InternalChannelRegistry.java 74.00% <100.00%> (ø)

... and 17 files with indirect coverage changes

@whitingjr
Copy link

@cescoffier yes that is fine. ty

@ozangunalp ozangunalp merged commit 119757f into smallrye:main Jul 6, 2023
@ozangunalp ozangunalp added this to the 4.8.0 milestone Jul 11, 2023
@cescoffier cescoffier deleted the fix-sync-take-2 branch July 25, 2023 11:24
@ozangunalp ozangunalp modified the milestone: 4.8.0 Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Locking contention when lookup of Emitter by name.
4 participants