You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[8.19] Bypass MMap arena grouping as this has caused issues with too many regions being mapped (#135012) (#135130)
* Bypass MMap arena grouping as this has caused issues with too many regions being mapped (#135012)
There is a JDK issue where closing sharedArenas from many threads can
significantly harm performance.
This ref-counting of shared arenas was designed as a way to get around
this performance issue. However, we have noticed a significant increase
in leaks and issues with mmap regions since this change.
https://bugs.openjdk.org/browse/JDK-8335480 should have helped the
performance impact of closing shared arenas (though possibly not fully
mitigated it).
I am proposing we turn off the grouping as it appears (at least to me),
not worth it.
I am willing to backdown if we thing other fixes should be done.
I also suggest this gets backported to 9.1, 8.19, and is merged into 9.2
(cherry picked from commit 2672cd0)
* [CI] Auto commit changes from spotless
* fixing compilation
---------
Co-authored-by: elasticsearchmachine <[email protected]>
0 commit comments