You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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%