summaryrefslogtreecommitdiffstats
path: root/oatdump
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-04-08 14:40:03 -0700
committerMathieu Chartier <mathieuc@google.com>2014-04-11 14:47:35 -0700
commit31f441464c0c8f840aba37e236ad133f30308d70 (patch)
tree54dba5521790d0038478f7cdf5103299d5149970 /oatdump
parent9b417e4f0f87da6bfe8dc5f02c987acfcb6dca31 (diff)
downloadart-31f441464c0c8f840aba37e236ad133f30308d70.zip
art-31f441464c0c8f840aba37e236ad133f30308d70.tar.gz
art-31f441464c0c8f840aba37e236ad133f30308d70.tar.bz2
Clean-up heap spaces.
We now use the CMS collector instead of the semispace collector when the phone is booting. We still perform compaction during the zygote space creation. This reduces time spent in GC by ~2s during boot and doesn't affect zygote space size. Changed the space creation logic to create the temp space when a background transition occurs. Added a flag to each space which is true if you are allowed to move objects that are within this space. Removed SwapSemiSpaces call from the semi space collector, it is now the job of the caller to do this with threads suspended. This simplifies the logic in the zygote compaction / heap transition code since these do not copy from one semispace to another. Added Space::Clear to RosAllocSpace and DlMallocSpace. This greatly simplifies the code used for collector transitions. Time spent in GC creating zygote space: Before: 3.4s, After: 1.28s No change in zygote space size. Bug: 13878055 Change-Id: I700348ab7d5bf3aa537c0cd70c0fed09aa4b0623
Diffstat (limited to 'oatdump')
0 files changed, 0 insertions, 0 deletions