OSDN Git Service

Persistent bitmap for region space
authorMathieu Chartier <mathieuc@google.com>
Fri, 7 Oct 2016 22:24:46 +0000 (15:24 -0700)
committerMathieu Chartier <mathieuc@google.com>
Wed, 19 Oct 2016 20:22:41 +0000 (13:22 -0700)
commit7ec38dcb84d61f6172bbb5a303bd5ab7139f7409
tree9facc157658bcc2d3d0beeefd9fe055c10598051
parentc89f9776a107ca20d0146c16fa881db91c4f8266
Persistent bitmap for region space

Fix bug where region space was not safely walkable due to holes
in the unevac regions possibly having dangling class pointers.

No preformance change, RAM overhead 1.1-1.2% .Heap (non LOS).

Test: test-art-host
Test: https://android-review.googlesource.com/#/c/288907/

Bug: 31522820

Change-Id: Ic4f8b7175e117689cb1ce3e28b082cf63f1f7b5a
runtime/gc/accounting/space_bitmap.cc
runtime/gc/accounting/space_bitmap.h
runtime/gc/accounting/space_bitmap_test.cc
runtime/gc/collector/concurrent_copying.cc
runtime/gc/heap.cc
runtime/gc/space/region_space-inl.h
runtime/gc/space/region_space.cc
runtime/gc/space/region_space.h