OpenSearch/libs/core/src
Tim Brooks a705e1a9e3
Add byte array pooling to nio http transport (#31349)
This is related to #28898. This PR implements pooling of bytes arrays
when reading from the wire in the http server transport. In order to do
this, we must integrate with netty reference counting. That manner in
which this PR implements this is making Pages in InboundChannelBuffer
reference counted. When we accessing the underlying page to pass to
netty, we retain the page. When netty releases its bytebuf, it releases
the underlying pages we have passed to it.
2018-06-15 14:01:03 -06:00
..
main Add byte array pooling to nio http transport (#31349) 2018-06-15 14:01:03 -06:00
test Add byte array pooling to nio http transport (#31349) 2018-06-15 14:01:03 -06:00