summaryrefslogtreecommitdiffstats
path: root/runtime/gc/accounting/mod_union_table_test.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2015-03-31 18:48:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-03-31 18:48:29 +0000
commitf93c6fe65c4c5e601cce467e87bbe71a87c5bac0 (patch)
treecc80db464fa34c9b10e5f3fceee8596c0fe68a36 /runtime/gc/accounting/mod_union_table_test.cc
parent1f940310658cd5a15e12305463fb6d2d508bbd26 (diff)
parent20f85597828194c12be10d3a927999def066555e (diff)
downloadart-f93c6fe65c4c5e601cce467e87bbe71a87c5bac0.tar.gz
art-f93c6fe65c4c5e601cce467e87bbe71a87c5bac0.tar.bz2
art-f93c6fe65c4c5e601cce467e87bbe71a87c5bac0.zip
Merge "Fixed layout for dex caches in boot image."
Diffstat (limited to 'runtime/gc/accounting/mod_union_table_test.cc')
-rw-r--r--runtime/gc/accounting/mod_union_table_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/accounting/mod_union_table_test.cc b/runtime/gc/accounting/mod_union_table_test.cc
index 77809358e4..94bb3f52cc 100644
--- a/runtime/gc/accounting/mod_union_table_test.cc
+++ b/runtime/gc/accounting/mod_union_table_test.cc
@@ -47,7 +47,7 @@ class ModUnionTableTest : public CommonRuntimeTest {
Thread* self, space::ContinuousMemMapAllocSpace* space, size_t component_count)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
auto* klass = GetObjectArrayClass(self, space);
- const size_t size = ComputeArraySize(self, klass, component_count, 2);
+ const size_t size = mirror::ComputeArraySize(component_count, 2);
size_t bytes_allocated = 0, bytes_tl_bulk_allocated;
auto* obj = down_cast<mirror::ObjectArray<mirror::Object>*>(
space->Alloc(self, size, &bytes_allocated, nullptr, &bytes_tl_bulk_allocated));