diff options
author | 2018-09-27 16:24:17 +0000 | |
---|---|---|
committer | 2018-09-27 16:24:17 +0000 | |
commit | f3d077373536c54824e4449759dff2f18369eab3 (patch) | |
tree | e00d19a342ff429fc514bf70bf52ff005a00911c /compiler/dex/quick_compiler_callbacks.h | |
parent | 5ad79d85d77a42456728897ac3e2e7d4530e618e (diff) |
Revert "Load boot image at a random address."
This reverts commit 5ad79d85d77a42456728897ac3e2e7d4530e618e.
Reason for revert: Breaks GSS garbage collection config.
Bug: 77856493
Change-Id: Ifa39966ac2470154f8ba093de4804689d545219b
Diffstat (limited to 'compiler/dex/quick_compiler_callbacks.h')
-rw-r--r-- | compiler/dex/quick_compiler_callbacks.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/dex/quick_compiler_callbacks.h b/compiler/dex/quick_compiler_callbacks.h index e92b67a0e8..b7117bd223 100644 --- a/compiler/dex/quick_compiler_callbacks.h +++ b/compiler/dex/quick_compiler_callbacks.h @@ -38,6 +38,11 @@ class QuickCompilerCallbacks final : public CompilerCallbacks { void ClassRejected(ClassReference ref) override; + // We are running in an environment where we can call patchoat safely so we should. + bool IsRelocationPossible() override { + return true; + } + verifier::VerifierDeps* GetVerifierDeps() const override { return verifier_deps_.get(); } |