Skip to content

Remove unnecessary external synchronization from SerializerCache access of _sharedMap #4442

@cowtowncoder

Description

@cowtowncoder

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.18Issues planned at 2.18 or later

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions