summaryrefslogtreecommitdiffstats
path: root/runtime/globals.h
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2014-07-18 14:57:04 -0700
committerAlex Light <allight@google.com>2014-08-05 10:22:08 -0700
commit6e183f2e973a20f2eaca135c240908e1bf98c5d0 (patch)
tree8a989eb8dbaca6a2c505569784740f9581fe7e98 /runtime/globals.h
parenteb76e11d836ea953b4e40a28e3e69d3b0f4c86fa (diff)
downloadart-6e183f2e973a20f2eaca135c240908e1bf98c5d0.zip
art-6e183f2e973a20f2eaca135c240908e1bf98c5d0.tar.gz
art-6e183f2e973a20f2eaca135c240908e1bf98c5d0.tar.bz2
Make system use patchoat to relocate during runtime.
Change dalvik_system_DexFile.cc so that isDexOptNeededInternal will be able to indicate that a patchoat is required. Change default of relocate option to be on. Bug: 15358152 Change-Id: Ibe92d8b55a24bbf718b0416a21b76e5df7a2de26
Diffstat (limited to 'runtime/globals.h')
-rw-r--r--runtime/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/globals.h b/runtime/globals.h
index 1d9f22c..107e064 100644
--- a/runtime/globals.h
+++ b/runtime/globals.h
@@ -118,6 +118,8 @@ static constexpr TraceClockSource kDefaultTraceClockSource = kTraceClockSourceDu
static constexpr TraceClockSource kDefaultTraceClockSource = kTraceClockSourceWall;
#endif
+static constexpr bool kDefaultMustRelocate = true;
+
} // namespace art
#endif // ART_RUNTIME_GLOBALS_H_