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 97fc9385d4..0ba545becc 100644
--- a/runtime/mirror/object.h
+++ b/runtime/mirror/object.h
@@ -651,7 +651,7 @@ class MANAGED LOCKABLE Object {
// object so that portions of the object, like klass and length (for arrays),
// can be accessed without causing cascading faults.
template <bool kFetchObjSize = true,
- bool kVisitNativeRoots = true,
+ bool kVisitNativeRoots = false,
VerifyObjectFlags kVerifyFlags = kDefaultVerifyFlags,
ReadBarrierOption kReadBarrierOption = kWithFromSpaceBarrier,
typename Visitor>