Closed
Description
Affects: 5.1.x, 4.3.x
The fix for issue #18905 introduced synchronized
blocks into the MethodOverrides
class to fix a race condition. While this fixed the original bug, the introduction of the synchronized
blocks is really hurting the concurrency of our application. We make use of method injection in a hot spot in our application, which has very high request concurrency. All of those requests go through MethodOverrides
, and through these synchronized
blocks. While the individual operations are fairly quick, it's still significant enough to cause serious concurrency degradation.
Can this class be reworked to avoid synchronized blocks?