template <typename Config, void (*unmapCallBack)(MemMapT &) = unmap>
class MapAllocatorCache
Defined at line 213 of file ../../third_party/scudo/src/secondary.h
The default unmap callback is simply scudo::unmap.
In testing, a different unmap callback is used to
record information about unmaps in the cache
Public Methods
void getStats (ScopedString * Str)
Defined at line 215 of file ../../third_party/scudo/src/secondary.h
void init (s32 ReleaseToOsInterval)
Defined at line 259 of file ../../third_party/scudo/src/secondary.h
void store (const Options & Options, uptr CommitBase, uptr CommitSize, uptr BlockBegin, MemMapT MemMap)
Defined at line 280 of file ../../third_party/scudo/src/secondary.h
bool canCache (uptr Size)
Defined at line 494 of file ../../third_party/scudo/src/secondary.h
bool setOption (Option O, sptr Value)
Defined at line 499 of file ../../third_party/scudo/src/secondary.h
void releaseToOS (ReleaseToOS ReleaseType)
Defined at line 523 of file ../../third_party/scudo/src/secondary.h
void disableMemoryTagging ()
Defined at line 532 of file ../../third_party/scudo/src/secondary.h
void disable ()
Defined at line 547 of file ../../third_party/scudo/src/secondary.h
void enable ()
Defined at line 549 of file ../../third_party/scudo/src/secondary.h
void unmapTestOnly ()
Defined at line 551 of file ../../third_party/scudo/src/secondary.h
void releaseOlderThanTestOnly (u64 ReleaseTime)
Defined at line 553 of file ../../third_party/scudo/src/secondary.h