summaryrefslogtreecommitdiff
path: root/runtime/mirror/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/mirror/object.h')
-rw-r--r--runtime/mirror/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/object.h b/runtime/mirror/object.h
index d83f3d6b00..97fc9385d4 100644
--- a/runtime/mirror/object.h
+++ b/runtime/mirror/object.h
@@ -653,7 +653,7 @@ class MANAGED LOCKABLE Object {
template <bool kFetchObjSize = true,
bool kVisitNativeRoots = true,
VerifyObjectFlags kVerifyFlags = kDefaultVerifyFlags,
- ReadBarrierOption kReadBarrierOption = kWithReadBarrier,
+ ReadBarrierOption kReadBarrierOption = kWithFromSpaceBarrier,
typename Visitor>
size_t VisitRefsForCompaction(const Visitor& visitor,
MemberOffset begin,