sofastack / sofa-rpc

SOFARPC is a high-performance, high-extensibility, production-level Java RPC framework.
https://www.sofastack.tech/sofa-rpc/docs/Home
Apache License 2.0
3.81k stars 1.16k forks source link

Refactor/syn to lock #1382

Closed Lo1nt closed 6 months ago

Lo1nt commented 6 months ago

Motivation:

refactor synchronized to Lock to adapt to virtual thread

Modification:

Result:

codecov[bot] commented 6 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (1e99afb) 72.01% compared to head (f9e3206) 72.03%.

Files Patch % Lines
.../sofa/rpc/dynamic/DynamicConfigManagerFactory.java 0.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1382 +/- ## ============================================ + Coverage 72.01% 72.03% +0.01% Complexity 784 784 ============================================ Files 416 416 Lines 17661 17673 +12 Branches 2752 2752 ============================================ + Hits 12719 12730 +11 - Misses 3538 3540 +2 + Partials 1404 1403 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.