Skip to content

Develop ConcurrentReferenceHashMap [SPR-9796] #14429

@spring-projects-issues

Description

@spring-projects-issues

Phil Webb opened SPR-9796 and commented

Several performance issues have been raised against the core Spring framework as well as other Spring projects relating to the use of synchronized WeakHashMaps.

Many of these problems could be reduced by using a concurrent hash map implementation that supports weak or soft references for entries.

Although several implementations of such maps are available in other open source projects [1] [2] adding an additional dependency to the core is not an option.

[1] http://docs.jboss.org/hibernate/validator/5.0/api/org/hibernate/validator/internal/util/ConcurrentReferenceHashMap.html
[2] http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/collect/MapMaker.html


Affects: 3.2 M2

Issue Links:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions