summaryrefslogtreecommitdiffstats
path: root/runtime/well_known_classes.h
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2014-10-13 11:27:13 +0200
committerSebastien Hertz <shertz@google.com>2014-10-23 11:43:05 +0200
commite49e195c4bc2f20df0289c0bbb46f56839308dde (patch)
tree07a334d8f9369b0a72fa0f07cc00576f4f005a08 /runtime/well_known_classes.h
parent8fc5acfd382bdc0d7920e8a13439b64344a8988a (diff)
downloadart-e49e195c4bc2f20df0289c0bbb46f56839308dde.zip
art-e49e195c4bc2f20df0289c0bbb46f56839308dde.tar.gz
art-e49e195c4bc2f20df0289c0bbb46f56839308dde.tar.bz2
More use of WellKnownClasses for debugger
Uses WellKnownClasses cached fields for ThreadGroupReference-related JDWP commands. Adds fields of java.lang.ThreadGroup and java.util.ArrayList used by the debugger. Change-Id: I54f7ef7e44cb61bec95657a69177bba1fbb7dc75
Diffstat (limited to 'runtime/well_known_classes.h')
-rw-r--r--runtime/well_known_classes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/well_known_classes.h b/runtime/well_known_classes.h
index 790d7f7..d651b90 100644
--- a/runtime/well_known_classes.h
+++ b/runtime/well_known_classes.h
@@ -64,6 +64,7 @@ struct WellKnownClasses {
static jclass java_lang_ThreadGroup;
static jclass java_lang_Thread__UncaughtExceptionHandler;
static jclass java_lang_Throwable;
+ static jclass java_util_ArrayList;
static jclass java_util_Collections;
static jclass java_nio_DirectByteBuffer;
static jclass libcore_util_EmptyArray;
@@ -111,8 +112,10 @@ struct WellKnownClasses {
static jfieldID java_lang_Thread_priority;
static jfieldID java_lang_Thread_uncaughtHandler;
static jfieldID java_lang_Thread_nativePeer;
+ static jfieldID java_lang_ThreadGroup_groups;
static jfieldID java_lang_ThreadGroup_mainThreadGroup;
static jfieldID java_lang_ThreadGroup_name;
+ static jfieldID java_lang_ThreadGroup_parent;
static jfieldID java_lang_ThreadGroup_systemThreadGroup;
static jfieldID java_lang_Throwable_cause;
static jfieldID java_lang_Throwable_detailMessage;
@@ -121,6 +124,8 @@ struct WellKnownClasses {
static jfieldID java_lang_Throwable_suppressedExceptions;
static jfieldID java_nio_DirectByteBuffer_capacity;
static jfieldID java_nio_DirectByteBuffer_effectiveDirectAddress;
+ static jfieldID java_util_ArrayList_array;
+ static jfieldID java_util_ArrayList_size;
static jfieldID java_util_Collections_EMPTY_LIST;
static jfieldID libcore_util_EmptyArray_STACK_TRACE_ELEMENT;
static jfieldID org_apache_harmony_dalvik_ddmc_Chunk_data;