summaryrefslogtreecommitdiffstats
path: root/libart/src/main
diff options
context:
space:
mode:
authorJeff Hao <jeffhao@google.com>2013-10-28 18:26:32 -0700
committerBrian Carlstrom <bdc@google.com>2013-11-07 10:42:09 -0800
commit59351c4e69b0e917d1f60e7ae32e76615150690c (patch)
tree85ffccafbc8cb20404f11667a6ee5dd2fc0a30d3 /libart/src/main
parenta615d7bf63f2706ff1956a3ecd2c19610f1e9360 (diff)
downloadlibcore-59351c4e69b0e917d1f60e7ae32e76615150690c.zip
libcore-59351c4e69b0e917d1f60e7ae32e76615150690c.tar.gz
libcore-59351c4e69b0e917d1f60e7ae32e76615150690c.tar.bz2
Libcore support for Interface Method Tables (IMT).
(cherry picked from commit 500f98f9696baad7ba16bd5ad65e8caa475ebfe7) Change-Id: I0d611ba7b24f2a990a4a2958939b0f6d739d3c14
Diffstat (limited to 'libart/src/main')
-rw-r--r--libart/src/main/java/java/lang/Class.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/libart/src/main/java/java/lang/Class.java b/libart/src/main/java/java/lang/Class.java
index 7dfe044..d4f5cbd 100644
--- a/libart/src/main/java/java/lang/Class.java
+++ b/libart/src/main/java/java/lang/Class.java
@@ -166,6 +166,9 @@ public final class Class<T> implements Serializable, AnnotatedElement, GenericDe
*/
private transient Object[] ifTable;
+ /** Interface method table (imt), for quick "invoke-interface". */
+ private transient ArtMethod[] imTable;
+
/** Lazily computed name of this class; always prefer calling getName(). */
private transient String name;