[jdk17u-dev] RFR: 8292989: Avoid dynamic memory in AsyncLogWriter [v2]
Aleksey Shipilev
shade at openjdk.org
Mon Aug 7 09:51:33 UTC 2023
On Sat, 5 Aug 2023 06:17:33 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Is it necessary to downport this patch? On its own, it does not sound that important, especially if we downport the glibc autotrimmer.
I think that autotrimmer is a mitigation strategy for oversubscription, rather than a fix. it also does not resolve fragmentation issues, if there are surviving mallocs between temporarly async logging mallocs. In other words, it is more compelling to avoid the issue instead of relying on auto-trimmer. We use a lot of `-Xlog:async` in production, and this would give us additional safety against memory leaks at least with glibc.
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/1630#issuecomment-1667545916
More information about the jdk-updates-dev
mailing list