diff options
| author | 2018-09-27 16:24:17 +0000 | |
|---|---|---|
| committer | 2018-09-27 16:24:17 +0000 | |
| commit | f3d077373536c54824e4449759dff2f18369eab3 (patch) | |
| tree | e00d19a342ff429fc514bf70bf52ff005a00911c /runtime/noop_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 'runtime/noop_compiler_callbacks.h')
| -rw-r--r-- | runtime/noop_compiler_callbacks.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/noop_compiler_callbacks.h b/runtime/noop_compiler_callbacks.h index 439f4856a6..496a6f3d09 100644 --- a/runtime/noop_compiler_callbacks.h +++ b/runtime/noop_compiler_callbacks.h @@ -31,6 +31,11 @@ class NoopCompilerCallbacks final : public CompilerCallbacks { void ClassRejected(ClassReference ref ATTRIBUTE_UNUSED) override {} + // This is only used by compilers which need to be able to run without relocation even when it + // would normally be enabled. For example the patchoat executable, and dex2oat --image, both need + // to disable the relocation since both deal with writing out the images directly. + bool IsRelocationPossible() override { return false; } + verifier::VerifierDeps* GetVerifierDeps() const override { return nullptr; } private: |