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

chore: virtual thread name #1393

Closed Lo1nt closed 5 months ago

Lo1nt commented 5 months ago

Motivation:

print thread type with thread name

Modification:

Describe the idea and modifications you've done.

Result:

Fixes #.

If there is no issue then describe the changes introduced by this PR.

codecov[bot] commented 5 months ago

Codecov Report

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

Comparison is base (9faa8b8) 72.04% compared to head (3cf70f7) 72.04%. Report is 4 commits behind head on master.

Files Patch % Lines
...va/com/alipay/sofa/rpc/server/bolt/BoltServer.java 53.06% 16 Missing and 7 partials :warning:
.../sofa/rpc/dynamic/DynamicConfigManagerFactory.java 0.00% 6 Missing :warning:
...ava/com/alipay/sofa/rpc/server/UserThreadPool.java 75.00% 2 Missing and 2 partials :warning:
...ipay/sofa/rpc/codec/jackson/JacksonSerializer.java 93.54% 0 Missing and 2 partials :warning:
...ipay/sofa/rpc/codec/jackson/JacksonConfigKeys.java 88.88% 1 Missing :warning:
...sofa/rpc/common/threadpool/ThreadPoolConstant.java 0.00% 1 Missing :warning:
...threadpool/extension/VirtualThreadPoolFactory.java 90.90% 1 Missing :warning:
.../alipay/sofa/rpc/server/UserVirtualThreadPool.java 83.33% 1 Missing :warning:
...a/com/alipay/sofa/rpc/event/LookoutSubscriber.java 66.66% 0 Missing and 1 partial :warning:
...ipay/sofa/rpc/server/bolt/BoltServerProcessor.java 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1393 +/- ## ============================================ - Coverage 72.04% 72.04% -0.01% - Complexity 785 791 +6 ============================================ Files 417 422 +5 Lines 17709 17815 +106 Branches 2760 2770 +10 ============================================ + Hits 12759 12834 +75 - Misses 3546 3566 +20 - Partials 1404 1415 +11 ```

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