template <typename Callback, bool QuarantineDisabled = false>

class QuarantineCache

Defined at line 73 of file ../../third_party/scudo/src/quarantine.h

Per-thread cache of memory blocks.

Public Methods

void init ()

Defined at line 75 of file ../../third_party/scudo/src/quarantine.h

uptr getSize ()

Total memory used, including internal accounting.

Defined at line 78 of file ../../third_party/scudo/src/quarantine.h

uptr getOverheadSize ()

Memory used for internal accounting.

Defined at line 80 of file ../../third_party/scudo/src/quarantine.h

void enqueue (Callback Cb, void * Ptr, uptr Size)

Defined at line 82 of file ../../third_party/scudo/src/quarantine.h

void transfer (QuarantineCache<Callback, QuarantineDisabled> * From)

Defined at line 95 of file ../../third_party/scudo/src/quarantine.h

void enqueueBatch (QuarantineBatch * B)

Defined at line 101 of file ../../third_party/scudo/src/quarantine.h

QuarantineBatch * dequeueBatch ()

Defined at line 106 of file ../../third_party/scudo/src/quarantine.h

void mergeBatches (QuarantineCache<Callback, QuarantineDisabled> * ToDeallocate)

Defined at line 115 of file ../../third_party/scudo/src/quarantine.h

void getStats (ScopedString * Str)

Defined at line 137 of file ../../third_party/scudo/src/quarantine.h