template <typename Config, void (*unmapCallBack)(MemMapT &) = unmap>
class MapAllocatorCache
Defined at line 216 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 218 of file ../../third_party/scudo/src/secondary.h
void init (s32 ReleaseToOsInterval)
Defined at line 263 of file ../../third_party/scudo/src/secondary.h
void store (const Options &Options,uptrCommitBase,uptrCommitSize,uptrBlockBegin,MemMapTMemMap)
Defined at line 284 of file ../../third_party/scudo/src/secondary.h
bool canCache (uptr Size)
Defined at line 498 of file ../../third_party/scudo/src/secondary.h
bool setOption (Option O, sptr Value)
Defined at line 503 of file ../../third_party/scudo/src/secondary.h
void releaseToOS (ReleaseToOS ReleaseType)
Defined at line 527 of file ../../third_party/scudo/src/secondary.h
void disableMemoryTagging ()
Defined at line 545 of file ../../third_party/scudo/src/secondary.h
void disable ()
Defined at line 560 of file ../../third_party/scudo/src/secondary.h
void enable ()
Defined at line 562 of file ../../third_party/scudo/src/secondary.h
void unmapTestOnly ()
Defined at line 564 of file ../../third_party/scudo/src/secondary.h
void releaseOlderThanTestOnly (u64 ReleaseTime)
Defined at line 566 of file ../../third_party/scudo/src/secondary.h