Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate ReferenceBundle definitions #249

Closed
wants to merge 1 commit into from

Conversation

jwagenleitner
Copy link
Contributor

Removed static initialization of default Soft/Weak bundles in ReferenceManager class. The methods in that class were not used in the codebase. Looking at the history of those static bundle references it appeared that 500 was the original threshold setting. Typical startup creates roughly 1000 managed references, so 500 seems like a more appropriate value than 5000.

Note: the deprecated methods are in the org.codehaus.groovy.util package which might be considered non-public even though the methods are public. But just to be safe left them in place just in case they may be referenced in others code.

Removed static initialization of default Soft/Weak bundles in ReferenceManager class.  The methods in that class were not used in the codebase.  Looking at the history of those static bundle references it appeared that 500 was the original threshold setting.  Typical startup creates roughly 1000 managed references, so 500 seems like a more appropriate value than 5000.
@blackdrag
Copy link
Contributor

+1

@asfgit asfgit closed this in b5f0396 Jan 28, 2016
asfgit pushed a commit that referenced this pull request Jan 28, 2016
Removed static initialization of default Soft/Weak bundles in ReferenceManager class.  The methods in that class were not used in the codebase.  Looking at the history of those static bundle references it appeared that 500 was the original threshold setting.  Typical startup creates roughly 1000 managed references, so 500 seems like a more appropriate value than 5000.
@jwagenleitner jwagenleitner deleted the refmanager branch January 28, 2016 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants