summaryrefslogtreecommitdiff
path: root/compiler/image_test.cc
diff options
context:
space:
mode:
author Hiroshi Yamauchi <yamauchi@google.com> 2013-09-26 14:21:22 -0700
committer Hiroshi Yamauchi <yamauchi@google.com> 2013-11-16 21:35:03 -0800
commitcf58d4adf461eb9b8e84baa8019054c88cd8acc6 (patch)
treec49fa473b17e299bc649688076e7d69938741e4e /compiler/image_test.cc
parentbe56c9e63335ce99f1042e8660aeac4690b965a9 (diff)
A custom 'runs-of-slots' memory allocator.
Bug: 9986565 Change-Id: I0eb73b9458752113f519483616536d219d5f798b
Diffstat (limited to 'compiler/image_test.cc')
-rw-r--r--compiler/image_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/image_test.cc b/compiler/image_test.cc
index e22e7028f6..b9a87f1c68 100644
--- a/compiler/image_test.cc
+++ b/compiler/image_test.cc
@@ -99,7 +99,7 @@ TEST_F(ImageTest, WriteRead) {
gc::space::ContinuousSpace* space = heap->GetNonMovingSpace();
ASSERT_FALSE(space->IsImageSpace());
ASSERT_TRUE(space != NULL);
- ASSERT_TRUE(space->IsDlMallocSpace());
+ ASSERT_TRUE(space->IsMallocSpace());
ASSERT_GE(sizeof(image_header) + space->Size(), static_cast<size_t>(file->GetLength()));
}
@@ -141,7 +141,7 @@ TEST_F(ImageTest, WriteRead) {
gc::Heap* heap = Runtime::Current()->GetHeap();
ASSERT_TRUE(heap->HasImageSpace());
- ASSERT_TRUE(heap->GetNonMovingSpace()->IsDlMallocSpace());
+ ASSERT_TRUE(heap->GetNonMovingSpace()->IsMallocSpace());
gc::space::ImageSpace* image_space = heap->GetImageSpace();
image_space->VerifyImageAllocations();