The Pedigree Project
0.1
|
#include <MemoryPool.h>
Public Member Functions | |
MemoryPoolPressureHandler (MemoryPool *pool) | |
virtual const String | getMemoryPressureDescription () |
virtual bool | compact () |
Private Attributes | |
MemoryPool * | m_Pool |
MemoryPoolPressureHandler - handles removing unused pages from a MemoryPool when memory pressure is seen on the system. Because MemoryPools tend to be full of bursty allocations, it's fairly typical to get a couple pages free.
Definition at line 41 of file MemoryPool.h.
|
virtual |
Called by MemoryPressureManager to request this handler to take action to reduce memory pressure.
Implements MemoryPressureHandler.
Definition at line 94 of file MemoryPool.cc.