Skip to content

Possibility to add default reference type in inner use of ConcurrentReferenceHashMap (ResolvableType) #25028

Closed as not planned
@fsgonz

Description

@fsgonz

In the context of our framework, we come across a metaspace issue due to the use of soft references in ConcurrentReferenceHashMap by default.
That default can be set in the constructor but there are are some inner uses of that class relies on the default soft reference type.
For example:
ResolvableType

Can a change be performed to provide a way to set the reference types in this cases this without using reflection? Passing the reference type to ResolvableType for example.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: duplicateA duplicate of another issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions