summaryrefslogtreecommitdiffstats
path: root/runtime/gc/heap-inl.h
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2014-03-11 21:47:18 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-11 21:47:18 +0000
commitd46a0b1c6bc5c1058085063f9ada94d5d6708bdc (patch)
tree4a5b80f095a507f852e4d39b256359e43c3eba7e /runtime/gc/heap-inl.h
parentf1375cd6367fba8b192b7628769931853c25e942 (diff)
parent5ccd498d4aa450b0381344724b072a932709a59a (diff)
downloadart-d46a0b1c6bc5c1058085063f9ada94d5d6708bdc.zip
art-d46a0b1c6bc5c1058085063f9ada94d5d6708bdc.tar.gz
art-d46a0b1c6bc5c1058085063f9ada94d5d6708bdc.tar.bz2
Merge "Put the post zygote non-moving space next to the malloc space."
Diffstat (limited to 'runtime/gc/heap-inl.h')
-rw-r--r--runtime/gc/heap-inl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/gc/heap-inl.h b/runtime/gc/heap-inl.h
index b80e72e..533e5df 100644
--- a/runtime/gc/heap-inl.h
+++ b/runtime/gc/heap-inl.h
@@ -218,6 +218,7 @@ inline mirror::Object* Heap::TryToAllocate(Thread* self, AllocatorType allocator
ret = self->AllocTlab(alloc_size);
DCHECK(ret != nullptr);
*bytes_allocated = alloc_size;
+ *usable_size = alloc_size;
break;
}
default: {