summaryrefslogtreecommitdiffstats
path: root/runtime/gc/collector/sticky_mark_sweep.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-02-25 15:52:46 -0800
committerMathieu Chartier <mathieuc@google.com>2014-02-25 15:54:15 -0800
commiteb7bbad163ce7a2c60bba6e0d3d7488e5cfb2c05 (patch)
tree58314ba6f2a3db5f922539566cdedef6d423d287 /runtime/gc/collector/sticky_mark_sweep.cc
parent678d6f42c4805d4989063a00c26776a494a80175 (diff)
downloadart-eb7bbad163ce7a2c60bba6e0d3d7488e5cfb2c05.zip
art-eb7bbad163ce7a2c60bba6e0d3d7488e5cfb2c05.tar.gz
art-eb7bbad163ce7a2c60bba6e0d3d7488e5cfb2c05.tar.bz2
Remove duplicate card pre-cleaning.
Sticky GC was pre-cleaning cards twice since MarkingPhase calls MarkReachableObjects. Change-Id: I61572b79c855bcd02085a1f7ff96dd0089db95fb
Diffstat (limited to 'runtime/gc/collector/sticky_mark_sweep.cc')
-rw-r--r--runtime/gc/collector/sticky_mark_sweep.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/gc/collector/sticky_mark_sweep.cc b/runtime/gc/collector/sticky_mark_sweep.cc
index 450445e..9e3adb4 100644
--- a/runtime/gc/collector/sticky_mark_sweep.cc
+++ b/runtime/gc/collector/sticky_mark_sweep.cc
@@ -53,8 +53,6 @@ void StickyMarkSweep::MarkReachableObjects() {
// TODO: Not put these objects in the mark stack in the first place.
mark_stack_->Reset();
RecursiveMarkDirtyObjects(false, accounting::CardTable::kCardDirty - 1);
- // Pre clean dirtied cards to reduce pauses.
- PreCleanCards();
}
void StickyMarkSweep::Sweep(bool swap_bitmaps) {