OpenSearch/test
Armin Braun 5569137ae3
Flatten ReleaseableBytesReference Object Trees (#57092) (#57109)
When slicing a releasable bytes reference we would create a new counter
every time and pass the original reference chain to the new slice on every
slice invocation. This would lead to extremely deep reference chains and
needlessly uses a dedicated counter for every slice when all the slices
eventually just refer to the same underlying bytes and `Releasable`.
This commit tracks the ref count wrapper with its releasable in a separate
object that can be passed around on every slicing, making the slices' tree
as flat as the original releasable bytes reference.

Also, we were needlessly creating a redundant releasable bytes reference from
a releasable bytes-stream-output that we never actually used for releasing (all code
that uses it just releases the stream itself instead).
2020-05-25 13:00:37 +02:00
..
fixtures Fix GCS Repository YAML Test Build (#57073) (#57101) 2020-05-25 11:10:39 +02:00
framework Flatten ReleaseableBytesReference Object Trees (#57092) (#57109) 2020-05-25 13:00:37 +02:00
logger-usage Remove deprecated third-party methods from tests (#55255) (#55269) 2020-04-15 17:54:47 -04:00
build.gradle Move publishing configuration to a separate plugin (#56727) 2020-05-14 20:23:07 -07:00