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.
Paths
| Differential D74232
scudo: Add way to set release interval for both allocators. AbandonedPublic Authored by cferris on Feb 7 2020, 9:37 AM.
Details
Summary For Android, set the defaults so that the primary is 1 second, but Add the ability to set these release intervals in mallopt.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 7 2020, 9:37 AM Comment Actions The idea sounds good, but as discussed by mail I'd like to avoid breaking the old option.
Revision Contents
Diff 243199 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
|