diff options
| author | 2013-11-21 11:48:14 -0800 | |
|---|---|---|
| committer | 2013-11-22 15:46:13 -0800 | |
| commit | 50482234bed852766498321f71d2ff5e46e4fec2 (patch) | |
| tree | 50f7d54b3696e6d6c1fcafaa0235d64356a74436 /compiler/llvm/compiler_llvm.cc | |
| parent | b6b4c459ef823ba62696796542519655c79423c2 (diff) | |
Compact zygote.
We now start out using the bump pointer allocator and switch to
the free list collector (ROSAlloc) after the zygote forks.
Before compaction:
Zygote size: 9060352
After compaction
Zygote size: 8425864
The main reason the size doesn't reduce more is that most of the
zygote space is non-movable objects allocated by
VMRuntime.newNonMovableObject. The objects which are non-movable
but could be movable include around 10000 classes and some number
of fields and methods.
Bug: 8981901
Change-Id: Iea21b70fb7af27cb7e92d72070d278a5cd4026ac
Diffstat (limited to 'compiler/llvm/compiler_llvm.cc')
0 files changed, 0 insertions, 0 deletions