summaryrefslogtreecommitdiffstats
path: root/src/class_linker.h
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2012-06-19 23:13:22 -0700
committerBrian Carlstrom <bdc@google.com>2012-06-25 10:32:02 -0700
commit46b8a62388f6ac5209371515e48915c32e6d62b9 (patch)
tree4df6cb385addbc71bea7cbf8ce55bb27febb7da6 /src/class_linker.h
parent4e181288cc6bd67baa1024e2fdb7201dde3d100e (diff)
downloadart-46b8a62388f6ac5209371515e48915c32e6d62b9.zip
art-46b8a62388f6ac5209371515e48915c32e6d62b9.tar.gz
art-46b8a62388f6ac5209371515e48915c32e6d62b9.tar.bz2
Compare checksum in oat files adjacent to jar/apk to support oat in system image
Change-Id: I45554c9fa5c369a0f47830623b6dbe7f9c691a08
Diffstat (limited to 'src/class_linker.h')
-rw-r--r--src/class_linker.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/class_linker.h b/src/class_linker.h
index 293e3ab..01c1051 100644
--- a/src/class_linker.h
+++ b/src/class_linker.h
@@ -404,6 +404,10 @@ class ClassLinker {
const OatFile* FindOpenedOatFileForDexFile(const DexFile& dex_file);
const OatFile* FindOpenedOatFileFromDexLocation(const std::string& dex_location);
const OatFile* FindOpenedOatFileFromOatLocation(const std::string& oat_location);
+ const DexFile* VerifyOatFileChecksums(const OatFile* oat_file,
+ const std::string& dex_location,
+ uint32_t dex_location_checksum)
+ EXCLUSIVE_LOCKS_REQUIRED(dex_lock_);
Method* CreateProxyConstructor(SirtRef<Class>& klass, Class* proxy_class);
Method* CreateProxyMethod(SirtRef<Class>& klass, SirtRef<Method>& prototype);