Skip to content

Better synchronization in ConcurrentMapCache [SPR-13810] #18383

Closed
@spring-projects-issues

Description

@spring-projects-issues

Stéphane Nicoll opened SPR-13810 and commented

ConcurrentMapCache currently synchronizes the full store in case of an atomic get operation as it can't rely on computeIfAbsent. Since Spring 5 can uses Java8 directly, we can switch to that method instead.


Affects: 4.3 RC1

Issue Links:

Referenced from: commits 3096888

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions