netty5/buffer/src
Norman Maurer 4be554a21f Hide Recycler implemention to allow experimenting with different implementions of an Object pool (#9715)
Motivation:

At the moment we directly extend the Recycler base class in our code which makes it hard to experiment with different Object pool implementation. It would be nice to be able to switch from one to another by using a system property in the future. This would also allow to more easily test things like https://github.com/netty/netty/pull/8052.

Modifications:

- Introduce ObjectPool class with static method that we now use internally to obtain an ObjectPool implementation.
- Wrap the Recycler into an ObjectPool and return it for now

Result:

Preparation for different ObjectPool implementations
2019-10-26 09:43:21 +02:00
..
main Hide Recycler implemention to allow experimenting with different implementions of an Object pool (#9715) 2019-10-26 09:43:21 +02:00
test/java/io/netty/buffer Fix for incorrect values from CompositeByteBuf#component(int) (#9525) 2019-09-02 13:52:47 +02:00