From f3d077373536c54824e4449759dff2f18369eab3 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 27 Sep 2018 16:24:17 +0000 Subject: 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 --- compiler/dex/quick_compiler_callbacks.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compiler/dex/quick_compiler_callbacks.h') 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(); } -- cgit v1.2.3-59-g8ed1b