mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
Introducing a plain version of `AbstractRefCounted` as a compromise. This saves a bunch of allocations and a circular reference to the object holding the ref counted instance, making smaller SearchHit instances etc. cheaper. We could get an even more direct solution here by making these extend `AbstractRefCounted` but that would lose us the ability to leak-track in tests, so doing it this way (same way Netty does it on their end) as a compromise. |
||
---|---|---|
.. | ||
src | ||
build.gradle |