600 UnfragmentMemory(ETrue, ETrue, EFalse); |
600 UnfragmentMemory(ETrue, ETrue, EFalse); |
601 FragmentMemory(PageSize * 32, PageSize * 64, ETrue, ETrue, EFalse); |
601 FragmentMemory(PageSize * 32, PageSize * 64, ETrue, ETrue, EFalse); |
602 TestMultipleContiguousAllocations(10, PageSize * 1024, PageShift + 10); |
602 TestMultipleContiguousAllocations(10, PageSize * 1024, PageShift + 10); |
603 UnfragmentMemory(ETrue, ETrue, EFalse); |
603 UnfragmentMemory(ETrue, ETrue, EFalse); |
604 |
604 |
605 // Temporarily disable these tests until errors they cause are fixed. |
|
606 #if 0 |
|
607 test.Next(_L("TestMultipleContiguousAllocations with repeated movable and discardable allocations")); |
605 test.Next(_L("TestMultipleContiguousAllocations with repeated movable and discardable allocations")); |
608 FragmentMemory(PageSize, PageSize * 2, EFalse, EFalse, ETrue); |
606 FragmentMemory(PageSize, PageSize * 2, EFalse, EFalse, ETrue); |
609 TestMultipleContiguousAllocations(20, PageSize * 2, PageShift); |
607 TestMultipleContiguousAllocations(20, PageSize * 2, PageShift); |
610 UnfragmentMemory(EFalse, EFalse, ETrue); |
608 UnfragmentMemory(EFalse, EFalse, ETrue); |
611 FragmentMemory(PageSize, PageSize * 2, EFalse, EFalse, ETrue); |
609 FragmentMemory(PageSize, PageSize * 2, EFalse, EFalse, ETrue); |
618 TestMultipleContiguousAllocations(20, PageSize * 512, PageShift + 8); |
616 TestMultipleContiguousAllocations(20, PageSize * 512, PageShift + 8); |
619 UnfragmentMemory(ETrue, EFalse, ETrue); |
617 UnfragmentMemory(ETrue, EFalse, ETrue); |
620 FragmentMemory(PageSize * 32, PageSize * 64, ETrue, EFalse, ETrue); |
618 FragmentMemory(PageSize * 32, PageSize * 64, ETrue, EFalse, ETrue); |
621 TestMultipleContiguousAllocations(20, PageSize * 1024, PageShift + 10); |
619 TestMultipleContiguousAllocations(20, PageSize * 1024, PageShift + 10); |
622 UnfragmentMemory(ETrue, EFalse, ETrue); |
620 UnfragmentMemory(ETrue, EFalse, ETrue); |
623 #endif |
621 |
624 gobbler.Close(); |
622 gobbler.Close(); |
625 r = User::FreeLogicalDevice(KGobblerLddFileName); |
623 r = User::FreeLogicalDevice(KGobblerLddFileName); |
626 test_KErrNone(r); |
624 test_KErrNone(r); |
627 } |
625 } |
628 |
626 |