summaryrefslogtreecommitdiffstats
path: root/runtime/gc/collector/sticky_mark_sweep.cc
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2013-09-26 14:21:22 -0700
committerHiroshi Yamauchi <yamauchi@google.com>2013-11-16 21:35:03 -0800
commitcf58d4adf461eb9b8e84baa8019054c88cd8acc6 (patch)
treec49fa473b17e299bc649688076e7d69938741e4e /runtime/gc/collector/sticky_mark_sweep.cc
parentbe56c9e63335ce99f1042e8660aeac4690b965a9 (diff)
downloadart-cf58d4adf461eb9b8e84baa8019054c88cd8acc6.zip
art-cf58d4adf461eb9b8e84baa8019054c88cd8acc6.tar.gz
art-cf58d4adf461eb9b8e84baa8019054c88cd8acc6.tar.bz2
A custom 'runs-of-slots' memory allocator.
Bug: 9986565 Change-Id: I0eb73b9458752113f519483616536d219d5f798b
Diffstat (limited to 'runtime/gc/collector/sticky_mark_sweep.cc')
-rw-r--r--runtime/gc/collector/sticky_mark_sweep.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/collector/sticky_mark_sweep.cc b/runtime/gc/collector/sticky_mark_sweep.cc
index b27b8df..ee6077a 100644
--- a/runtime/gc/collector/sticky_mark_sweep.cc
+++ b/runtime/gc/collector/sticky_mark_sweep.cc
@@ -38,7 +38,7 @@ void StickyMarkSweep::BindBitmaps() {
// know what was allocated since the last GC. A side-effect of binding the allocation space mark
// and live bitmap is that marking the objects will place them in the live bitmap.
for (const auto& space : GetHeap()->GetContinuousSpaces()) {
- if (space->IsDlMallocSpace() &&
+ if (space->IsMallocSpace() &&
space->GetGcRetentionPolicy() == space::kGcRetentionPolicyAlwaysCollect) {
BindLiveToMarkBitmap(space);
}