diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2014-03-11 21:47:18 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-03-11 21:47:18 +0000 |
commit | d46a0b1c6bc5c1058085063f9ada94d5d6708bdc (patch) | |
tree | 4a5b80f095a507f852e4d39b256359e43c3eba7e /runtime/gc/heap-inl.h | |
parent | f1375cd6367fba8b192b7628769931853c25e942 (diff) | |
parent | 5ccd498d4aa450b0381344724b072a932709a59a (diff) | |
download | art-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.h | 1 |
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: { |