OSDN Git Service

Don't create bump pointer spaces unless necessary.
authorMathieu Chartier <mathieuc@google.com>
Tue, 27 May 2014 17:10:11 +0000 (10:10 -0700)
committerMathieu Chartier <mathieuc@google.com>
Wed, 28 May 2014 19:22:23 +0000 (12:22 -0700)
commit4240c5112aedb174a3e1c1f071ea54e82168b130
treec858f3976cf0628e1cc3e0be1d0f4ad1aa578a2a
parent1b1aea22c0cc5567b5967590cb3f949cc45c3a9a
Don't create bump pointer spaces unless necessary.

We now only create these spaces if the foreground or background
collector is a moving collector.

Bug: 13564922
Bug: 14059466
Change-Id: I9f83c7881bc28423b78d5249c8e8854add91b60c
runtime/gc/collector/semi_space.cc
runtime/gc/heap.cc