dubbo
dubbo copied to clipboard
The java implementation of Apache Dubbo. An RPC and microservice framework.
### Pre-check - [X] I am sure that all the content I provide is in English. ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found...
The type of length is int, but only a single byte is being read and written.  
https://github.com/apache/dubbo/blob/3.0/dubbo-common/src/main/java/org/apache/dubbo/common/utils/JVMUtil.java JVMUtil. jstack方法调用整体使用OutputStream作为输出可提升性能,而内部JVMUtil.getThreadDumpString使用String长字符串拼接反而降低了性能。 建议修改内部JVMUtil.getThreadDumpString方法同样为流式处理,减少字符串拼接的性能开销 同时,getThreadDumpString方法内部,可能还考虑性能影响,增加了栈深度控制(默认32)。 这个深度控制、对性能的提升,可能没有流式处理改造能带来的性能提升高。建议应先修改流式处理以提升性能。是否可经测试评估性能影响,取消栈深度控制。以便dubbo的threaddump能够使用在各类Thread分析工具中(如flamegraph.pl等)。
- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.2.5 * Java version: 1.8 ### Steps...
- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.2.6 * Operating System version: macos 14...
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ## Ask your question here After upgrading to 3.2.11, the previously...
### Environment * Dubbo version: 3.2.11 * Operating System version: Apple M2 chip macOS 14.2.1 * Java version: OpenJDK 64-Bit Server VM (build 21.0.2+13-58, mixed mode, sharing) ### Reproduction method...
Currently using loadAs to parse http message, need to add unit test ensure no CVE issue. as with JSON, not to enable any object deserialization.
3.3.0-beta.1 native-image plugin setting is: ``` org.graalvm.buildtools native-maven-plugin ${native-maven-plugin.version} ${project.build.outputDirectory} true 22.3 --add-opens=java.base/java.net=ALL-UNNAMED ``` ``` 10:05:54.612 logback [main] INFO o.a.d.s.b.c.e.WelcomeLogoApplicationListener - [DUBBO] :: Dubbo (v3.3.0-beta.1) : https://github.com/apache/dubbo :: Discuss group...
The executorService in AbstractCacheManager is passed in from outside and belongs to FrameworkModel. However, when an ApplicationModel is destroyed, the destroy of AbstractCacheManager will be triggered, and the public executorService...