Skip to content

Remove sizing from Recycler#obtain #39975

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

Merged
merged 1 commit into from
Mar 13, 2019
Merged

Conversation

Tim-Brooks
Copy link
Contributor

Currently there is a method Recycler#obtain(size) that allows a size
parameter to be passed. However all implementations ignore this
parameter and just allocate a page size based on other settings. This
commit removes this method.

Currently there is a method `Recycler#obtain(size)` that allows a size
parameter to be passed. However all implementations ignore this
parameter and just allocate a page size based on other settings. This
commit removes this method.
@Tim-Brooks Tim-Brooks added >non-issue :Core/Infra/Core Core issues without another label v8.0.0 v7.2.0 labels Mar 12, 2019
@Tim-Brooks Tim-Brooks requested review from jpountz and s1monw March 12, 2019 19:17
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Contributor

@s1monw s1monw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Tim-Brooks Tim-Brooks merged commit 651acbb into elastic:master Mar 13, 2019
Tim-Brooks added a commit that referenced this pull request Mar 13, 2019
Currently there is a method `Recycler#obtain(size)` that allows a size
parameter to be passed. However all implementations ignore this
parameter and just allocate a page size based on other settings. This
commit removes this method.
@Tim-Brooks Tim-Brooks deleted the remove_sizing branch December 18, 2019 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants