jackson-databind
jackson-databind copied to clipboard
Remove unnecessary external synchronization from `SerializerCache` access of `_sharedMap`
(note: off-shoot of #4430 )
Due to historical reasons, SerializerCache uses synchronized around all access to LookupCache _sharedMap. This is not necessary as LookupCache implementations must implement thread-safe access.
Let's remove these statements around access.
But just in case do it only for 2.18, not 2.17 patch release.