Memory leak in ConcurrentReferenceHashMap [SPR-11440] #16066
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Phil Webb opened SPR-11440 and commented
The
restructureIfNecessary
method inConcurrentReferenceHashMap
can add new entriesReference
objects that have been cleaned.It appears that relying on
ReferenceQueue
alone is not enough to ensure that entries get removed. An entry that has been cleaned but somehow doesn't appear as apollForPurge
entry will be continually re-added with anull
reference.Affects: 3.2.7, 4.0.1
Issue Links:
Referenced from: commits 2b4c81e, 09c5720
Backported to: 3.2.8
The text was updated successfully, but these errors were encountered: