summaryrefslogtreecommitdiffstats
path: root/vm/Dalvik.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2009-07-16 18:11:22 -0700
committerAndy McFadden <fadden@android.com>2009-07-31 13:18:56 -0700
commit734155efc18543eab20b763f9a315ab1a44240ac (patch)
treed8243b4f35ccf73f1de1b721b9005ebcc6f77da1 /vm/Dalvik.h
parent51b9e5c27aa5d5c399f93f2df2b2ca1674b0858d (diff)
downloadandroid_dalvik-734155efc18543eab20b763f9a315ab1a44240ac.tar.gz
android_dalvik-734155efc18543eab20b763f9a315ab1a44240ac.tar.bz2
android_dalvik-734155efc18543eab20b763f9a315ab1a44240ac.zip
Indirect reference table implementation.
This change introduces the "indirect" reference table, which will be replacing ReferenceTable for local and global JNI references. The key difference is that, instead of handing raw Object pointers to JNI, we will be giving them a magic value that can be converted back to an Object. The goal is to avoid having to pin every object that native code is aware of. The code is not actually used anywhere yet. Also bundled up here: - added detail to a log message - fixed a string format issue in the internal assert() definition - very minor optimization in "remove" function in ReferenceTable - quiet a gcc complaint - only include the hash table regression test in builds that invoke it
Diffstat (limited to 'vm/Dalvik.h')
-rw-r--r--vm/Dalvik.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/Dalvik.h b/vm/Dalvik.h
index 618d51ae9..054b838e0 100644
--- a/vm/Dalvik.h
+++ b/vm/Dalvik.h
@@ -44,6 +44,7 @@
#include "UtfString.h"
#include "Intern.h"
#include "ReferenceTable.h"
+#include "IndirectRefTable.h"
#include "AtomicCache.h"
#include "Thread.h"
#include "Ddm.h"