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

Add RecyclerPool.clear() method for dropping all pooled Objects #1202

Closed
cowtowncoder opened this issue Jan 24, 2024 · 0 comments
Closed

Add RecyclerPool.clear() method for dropping all pooled Objects #1202

cowtowncoder opened this issue Jan 24, 2024 · 0 comments

Comments

@cowtowncoder
Copy link
Member

(note: related to #1117 )

There should be mechanism through which one can clear recycled buffer instances (for pools that do actual recycling (no op for non-recycling fake instances; and are able to clear instances (not applicable to ThreadLocal based pool).
This may be necessary since many implementations are unbounded (theoretically).

@cowtowncoder cowtowncoder changed the title Add RecyclerPool.clear() method for dropping all recycled instances Add RecyclerPool.clear() method for dropping all pooled Objects Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant