elasticsearch/libs/core
Armin Braun 18bd6c4238
Fix Releasables.close performance issues (#104970)
It's less code and it actually inlines (avoiding virtual calls in most
cases) to just do the null check here instead of delegating to IOUtils
and then catching the impossible IOException. Also, no need to use
`Releaseables` in 2 spots where try-with-resources works as well and
needs less code.

Noticed this when I saw that we had a lot of strange CPU overhead in
this call in some hot loops like translog writes.
2024-01-31 08:21:59 -05:00
..
src Fix Releasables.close performance issues (#104970) 2024-01-31 08:21:59 -05:00
build.gradle Add plugin for creating MRJARs (#104883) 2024-01-29 21:06:19 -08:00