Assorted fixes
- Match ClassLinker::oat_files_ against cached oat file locations
- Have DexFile_isDexOptNeeded do checksum comparsion of oat to dex
- Complete TODO in Heap::Lock to use TryLock before switching to kVmWait
- Fix ThrowNew to use Throwable constructor without String when no msg is available
Change-Id: Ie9d7bfef9e80b77e5f7625a4d7c9c4a23c7b30b5
diff --git a/src/class_linker.h b/src/class_linker.h
index 91d6259..2a3e74d 100644
--- a/src/class_linker.h
+++ b/src/class_linker.h
@@ -346,6 +346,8 @@
return dex_caches_;
}
+ const OatFile* FindOpenedOatFile(const std::string& location);
+
Method* CreateProxyConstructor(Class* klass);
Method* CreateProxyMethod(Class* klass, Method* prototype, ObjectArray<Class>* throws);