commit | 324b9bb2f48be39e20077c1d7da45cf3dc47fe06 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Feb 23 16:33:22 2015 -0800 |
committer | Andreas Gampe <agampe@google.com> | Tue Feb 24 21:57:08 2015 -0800 |
tree | d7efdc9aade5c693ace5dfbf9871ea6dfa7625d9 | |
parent | 9e80e7fa5ef60f02f35823bc58969c3d5a03453e [diff] [blame] |
ART: Move DexFile vector to Java array To avoid having native vectors only referenced by Java objects, which look like leaks to Valgrind, use a Java array to store references to native DexFile objects. Change-Id: If3c2b31b9d0914ed1965cfd5e3fdb94ea41b1477
diff --git a/runtime/native/dalvik_system_DexFile.h b/runtime/native/dalvik_system_DexFile.h index 487df05..7585ab9 100644 --- a/runtime/native/dalvik_system_DexFile.h +++ b/runtime/native/dalvik_system_DexFile.h
@@ -21,6 +21,8 @@ namespace art { +class DexFile; + void register_dalvik_system_DexFile(JNIEnv* env); } // namespace art