[PATCH] D93452: [clangd] Trim memory periodically
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 18 11:03:15 PST 2020
MaskRay added inline comments.
================
Comment at: llvm/lib/Support/Unix/Process.inc:122
+#if defined(HAVE_MALLOC_TRIM)
+ return malloc_trim(Pad);
+#else
----------------
If the user uses jemalloc/tcmalloc with glibc, malloc_trim may exist while the function may do nothing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93452/new/
https://reviews.llvm.org/D93452
More information about the cfe-commits
mailing list