[PATCH] D74232: scudo: Add way to set release interval for both allocators.

Christopher Ferris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 09:40:23 PST 2020


cferris created this revision.
Herald added subscribers: llvm-commits, Sanitizers, jfb, cryptoad.
Herald added projects: Sanitizers, LLVM.
cferris updated this revision to Diff 243199.
cferris added a comment.

Updated mallopt for android.


For Android, set the defaults so that the primary is 1 second, but
the secondary is set to always release.

Add the ability to set these release intervals in mallopt.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74232

Files:
  compiler-rt/lib/scudo/standalone/combined.h
  compiler-rt/lib/scudo/standalone/flags.inc
  compiler-rt/lib/scudo/standalone/primary32.h
  compiler-rt/lib/scudo/standalone/primary64.h
  compiler-rt/lib/scudo/standalone/secondary.h
  compiler-rt/lib/scudo/standalone/wrappers_c.inc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74232.243199.patch
Type: text/x-patch
Size: 10036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200207/924f674e/attachment.bin>


More information about the llvm-commits mailing list