shuangchengsun opened a new issue #3827: URL: https://github.com/apache/rocketmq/issues/3827
Recently, we conducted a stress test on transaction messages, but found that the performance of transaction messages was significantly lower than the previous version. After our analysis, we found that this phenomenon was caused by a bug in jdk.  As we can see, This method consumes a lot of time, which is obviously unreasonable. With further investigation, it turns out that this is a bug in JDK-8(https://bugs.openjdk.java.net/browse/JDK-8227019), which has been fixed in subsequent versions. Unfortunately, this bug still alive in jdk 1.8.0_202. The root cause in code as figure show. An easy way to fix it is to use timeout parameter, which can improve 50%  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
