summaryrefslogtreecommitdiff
path: root/runtime/gc/accounting/heap_bitmap-inl.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2013-08-03 14:02:57 -0700
committer Mathieu Chartier <mathieuc@google.com> 2013-08-03 16:22:40 -0700
commit184e322fe8ddd75c844a1eb2eb1ca32bc02f2d45 (patch)
tree341b6e63b2ec506c07d858d014f9a27fe44297fa /runtime/gc/accounting/heap_bitmap-inl.h
parent85affca81271f573c75c32316aa6faa8e52448b1 (diff)
Disable and remove finger.
Finger is useless for multithreaded GC, removing it should provide a slight speed up due to avoided comparison. Change-Id: I7eb7abcbab8d3307807b1086c06d68b2d4bcd2e9
Diffstat (limited to 'runtime/gc/accounting/heap_bitmap-inl.h')
-rw-r--r--runtime/gc/accounting/heap_bitmap-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/accounting/heap_bitmap-inl.h b/runtime/gc/accounting/heap_bitmap-inl.h
index f6cf2b53ea..0524ccb69c 100644
--- a/runtime/gc/accounting/heap_bitmap-inl.h
+++ b/runtime/gc/accounting/heap_bitmap-inl.h
@@ -30,7 +30,7 @@ inline void HeapBitmap::Visit(const Visitor& visitor) {
for (It it = continuous_space_bitmaps_.begin(), end = continuous_space_bitmaps_.end();
it != end; ++it) {
SpaceBitmap* bitmap = *it;
- bitmap->VisitMarkedRange(bitmap->HeapBegin(), bitmap->HeapLimit(), visitor, VoidFunctor());
+ bitmap->VisitMarkedRange(bitmap->HeapBegin(), bitmap->HeapLimit(), visitor);
}
// TODO: C++0x auto
typedef SpaceSetMapVector::iterator It2;