|
| virtual void | SetUp () |
| |
| virtual void | TearDown () |
| |
| MetaAllocatorHandle * | allocate (size_t sizeInBytes, SanityCheckMode sanityCheckMode=RunSanityCheck) |
| |
| void | free (MetaAllocatorHandle *handle, SanityCheckMode sanityCheckMode=RunSanityCheck) |
| |
| void | notifyFree (void *start, size_t sizeInBytes) |
| |
| void | sanityCheck () |
| |
| void | confirm (MetaAllocatorHandle *handle) |
| |
| void | confirmHighWatermark (MetaAllocatorHandle *handle) |
| |
| void | confirm (uintptr_t startByte, uintptr_t endByte, bool value) |
| |
| size_t | bytesAllocated () |
| |
| size_t | bytesCommitted () |
| |
| bool & | byteState (void *address) |
| |
| bool & | byteState (uintptr_t address) |
| |
| bool & | pageState (uintptr_t page) |
| |
| void | testOneAlloc (size_t size) |
| |
| void | testRepeatAllocFree (size_t firstSize,...) |
| |
| void | testSimpleFullCoalesce (size_t firstSize, size_t secondSize, size_t thirdSize) |
| |
| void | testFIFOAlloc (TestFIFOAllocMode mode,...) |
| |
| void | testFillHeap (size_t sizeInBytes, size_t numAllocations) |
| |
| void | testRightAllocation (size_t firstLeftSize, size_t firstRightSize, size_t secondLeftSize, size_t secondRightSize) |
| |
| void | testBestFit (size_t firstSize, size_t step, unsigned numSlots, SanityCheckMode sanityCheckMode) |
| |
| void | testShrink (size_t firstSize, size_t secondSize) |
| |
| void | testDemandAllocCoalesce (size_t firstSize, size_t numPages, size_t secondSize) |
| |
| void | testDemandAllocDontCoalesce (size_t firstSize, size_t numPages, size_t secondSize) |
| |
◆ HeapGrowthMode
| Enumerator |
|---|
| DontGrowHeap | |
| ForTestDemandAllocCoalesce | |
| ForTestDemandAllocDontCoalesce | |
◆ SanityCheckMode
| Enumerator |
|---|
| RunSanityCheck | |
| DontRunSanityCheck | |
◆ TestFIFOAllocMode
| Enumerator |
|---|
| FillAtEnd | |
| EagerFill | |
◆ allocate()
◆ bytesAllocated()
| size_t TestWebKitAPI::MetaAllocatorTest::bytesAllocated |
( |
| ) |
|
|
inline |
◆ bytesCommitted()
| size_t TestWebKitAPI::MetaAllocatorTest::bytesCommitted |
( |
| ) |
|
|
inline |
◆ byteState() [1/2]
| bool& TestWebKitAPI::MetaAllocatorTest::byteState |
( |
void * |
address | ) |
|
|
inline |
◆ byteState() [2/2]
| bool& TestWebKitAPI::MetaAllocatorTest::byteState |
( |
uintptr_t |
address | ) |
|
|
inline |
◆ confirm() [1/2]
◆ confirm() [2/2]
◆ confirmHighWatermark()
◆ free()
◆ notifyFree()
| void TestWebKitAPI::MetaAllocatorTest::notifyFree |
( |
void * |
start, |
|
|
size_t |
sizeInBytes |
|
) |
| |
|
inline |
◆ pageState()
| bool& TestWebKitAPI::MetaAllocatorTest::pageState |
( |
uintptr_t |
page | ) |
|
|
inline |
◆ sanityCheck()
| void TestWebKitAPI::MetaAllocatorTest::sanityCheck |
( |
| ) |
|
|
inline |
◆ SetUp()
| virtual void TestWebKitAPI::MetaAllocatorTest::SetUp |
( |
| ) |
|
|
inlinevirtual |
◆ TearDown()
| virtual void TestWebKitAPI::MetaAllocatorTest::TearDown |
( |
| ) |
|
|
inlinevirtual |
◆ testBestFit()
◆ testDemandAllocCoalesce()
| void TestWebKitAPI::MetaAllocatorTest::testDemandAllocCoalesce |
( |
size_t |
firstSize, |
|
|
size_t |
numPages, |
|
|
size_t |
secondSize |
|
) |
| |
|
inline |
◆ testDemandAllocDontCoalesce()
| void TestWebKitAPI::MetaAllocatorTest::testDemandAllocDontCoalesce |
( |
size_t |
firstSize, |
|
|
size_t |
numPages, |
|
|
size_t |
secondSize |
|
) |
| |
|
inline |
◆ testFIFOAlloc()
◆ testFillHeap()
| void TestWebKitAPI::MetaAllocatorTest::testFillHeap |
( |
size_t |
sizeInBytes, |
|
|
size_t |
numAllocations |
|
) |
| |
|
inline |
◆ testOneAlloc()
| void TestWebKitAPI::MetaAllocatorTest::testOneAlloc |
( |
size_t |
size | ) |
|
|
inline |
◆ testRepeatAllocFree()
| void TestWebKitAPI::MetaAllocatorTest::testRepeatAllocFree |
( |
size_t |
firstSize, |
|
|
|
... |
|
) |
| |
|
inline |
◆ testRightAllocation()
| void TestWebKitAPI::MetaAllocatorTest::testRightAllocation |
( |
size_t |
firstLeftSize, |
|
|
size_t |
firstRightSize, |
|
|
size_t |
secondLeftSize, |
|
|
size_t |
secondRightSize |
|
) |
| |
|
inline |
◆ testShrink()
| void TestWebKitAPI::MetaAllocatorTest::testShrink |
( |
size_t |
firstSize, |
|
|
size_t |
secondSize |
|
) |
| |
|
inline |
◆ testSimpleFullCoalesce()
| void TestWebKitAPI::MetaAllocatorTest::testSimpleFullCoalesce |
( |
size_t |
firstSize, |
|
|
size_t |
secondSize, |
|
|
size_t |
thirdSize |
|
) |
| |
|
inline |
◆ additionalPagesInHeap
| unsigned TestWebKitAPI::MetaAllocatorTest::additionalPagesInHeap |
◆ allocator
◆ allocatorDestroyed
| bool TestWebKitAPI::MetaAllocatorTest::allocatorDestroyed |
◆ allowAllocatePages
| size_t TestWebKitAPI::MetaAllocatorTest::allowAllocatePages |
◆ basePage
| const unsigned TestWebKitAPI::MetaAllocatorTest::basePage = 1 |
|
static |
◆ currentHeapGrowthMode
| HeapGrowthMode TestWebKitAPI::MetaAllocatorTest::currentHeapGrowthMode |
◆ defaultPagesInHeap
| const unsigned TestWebKitAPI::MetaAllocatorTest::defaultPagesInHeap = 100 |
|
static |
◆ memoryMap
| Vector<bool, 0>* TestWebKitAPI::MetaAllocatorTest::memoryMap |
◆ pageMap
| Vector<bool, 0>* TestWebKitAPI::MetaAllocatorTest::pageMap |
◆ requestedNumPages
| size_t TestWebKitAPI::MetaAllocatorTest::requestedNumPages |
The documentation for this class was generated from the following file: