Skip to content
New issue

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

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

Already on GitHub? # to your account

Bug in BufferRecycler.allocByteBuffer(int,int), wrong default size #143

Closed
cowtowncoder opened this issue Jun 6, 2014 · 0 comments
Closed

Comments

@cowtowncoder
Copy link
Member

Looks like refactoring between 2.3.3 and 2.4.0 broke handling of allocation of non-default buffers; what happens is that allocated buffer size ends up being default even if caller specifies alternate minimum size.

This ends up causing performance regression for jackson-dataformat-cbor (but not other encoders, at least not json or smile) since it defaults to bigger buffer size for write encoding.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant