Skip to content

DefaultListableBeanFactory should allow efficient access to current bean names [SPR-12404] #17012

Closed

Description

@spring-projects-issues

Juergen Hoeller opened SPR-12404 and commented

Improvements based on this proposal and a few discussions with Phil:
philwebb@8c347e6

On a related but quite different note, we should also avoid synchronization for accessing current bean names. Through managing a dedicated set of manually registered singleton names (which remain stable after the registration phase), we can significantly optimize concurrent access as well as shorten the iteration needed for each autowiring attempt.


Affects: 4.1.1

Issue Links:

Referenced from: commits 965bea7, 14fef19, 3c3e07e

Activity

  1. spring-projects-issues commented on Nov 1, 2014

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    Phil Webb, this is available in master now, also providing public accessors for DLBF's settings.

    Juergen

  2. added this to the 4.1.2 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions