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

[#3789] Correctly reset markers for all allocations when using Pooled… #4278

Closed
wants to merge 1 commit into from

Conversation

normanmaurer
Copy link
Member

…ByteBufAllocator

Motivation:

We need to ensure all markers are reset when doing an allocation via the PooledByteBufAllocator. This was not the always the case.

Modifications:

Move all logic that needs to get executed when reuse a PooledByteBuf into one place and call it.

Result:

Correct behavior

…ByteBufAllocator

Motivation:

We need to ensure all markers are reset when doing an allocation via the PooledByteBufAllocator. This was not the always the case.

Modifications:

Move all logic that needs to get executed when reuse a PooledByteBuf into one place and call it.

Result:

Correct behavior
@jesperpedersen
Copy link

+1

@Scottmitch
Copy link
Member

lgtm

@normanmaurer
Copy link
Member Author

Cherry-picked into 4.0 (3de8768) , 4.1 (956a757) and master (f746f0c)

@normanmaurer normanmaurer deleted the reset_marks branch September 25, 2015 17:59
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.

None yet

5 participants