Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.6
-
None
-
None
-
Patch
Description
Under load, the lock held in AnnotationActionValidatorManager.getValidators on validatorCache becomes contended. This lock is currently held while all the validators are created. The attached patch reduces the scope of the lock to just doing the cache lookup + taking a defensive copy of the list of validators for that key. This improved throughput and latency in our tests.