diff options
| author | 2012-06-26 15:00:26 -0700 | |
|---|---|---|
| committer | 2012-07-17 17:04:53 -0700 | |
| commit | e6e0651c7f0480e18d648200f8958c3463e82a2f (patch) | |
| tree | 4b814063674e555518f5de7540a2e564ed167ed3 /src/compiler/codegen/RallocUtil.cc | |
| parent | 85eee02c456cd54f9e4110e90ebed6b55906e1bf (diff) | |
Mod-union table implementation: reference caching
Implementation which uses a map of card pointers to reference array to keep track of image space references to the alloc space.
Speed/memory usage improvements over bitmap implementation. Approximated memory usage is ~4 * number_references compared to the previous 128k due a bitmap spanning the zygote space.
For the system server, memory usage is approximately 100k due to ~20000 references to the alloc space.
Performance increases since we no longer scan objects in the imagespace when we mark the references of the mod union table.
Change-Id: I449b8b3edeba712a535f6a3b14d81743bcd6f5a0
Diffstat (limited to 'src/compiler/codegen/RallocUtil.cc')
0 files changed, 0 insertions, 0 deletions