diff options
| author | Jeff Hao <jeffhao@google.com> | 2009-08-12 16:57:15 -0700 |
|---|---|---|
| committer | Jeff Hao <jeffhao@google.com> | 2009-08-21 15:33:20 -0700 |
| commit | 97319a8a234e9fe1cf90ca39aa6eca37d729afd5 (patch) | |
| tree | d14d258f82f02cfa534a38cf9e511ba14dbf8123 /vm/Thread.h | |
| parent | 8c454f6832c96ee4a2fe460615ee3f4d0c15926f (diff) | |
| download | android_dalvik-97319a8a234e9fe1cf90ca39aa6eca37d729afd5.tar.gz android_dalvik-97319a8a234e9fe1cf90ca39aa6eca37d729afd5.tar.bz2 android_dalvik-97319a8a234e9fe1cf90ca39aa6eca37d729afd5.zip | |
New changes to enable self verification mode.
Diffstat (limited to 'vm/Thread.h')
| -rw-r--r-- | vm/Thread.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vm/Thread.h b/vm/Thread.h index 45018b4a0..bff73164a 100644 --- a/vm/Thread.h +++ b/vm/Thread.h @@ -209,6 +209,11 @@ typedef struct Thread { /* PC, saved on every instruction; redundant with StackSaveArea */ const u2* currentPc2; #endif + +#if defined(WITH_SELF_VERIFICATION) + /* Buffer for register state during self verification */ + struct ShadowSpace* shadowSpace; +#endif } Thread; /* start point for an internal thread; mimics pthread args */ @@ -398,7 +403,7 @@ char* dvmGetThreadName(Thread* thread); * thread is part of the GC's root set. */ bool dvmIsOnThreadList(const Thread* thread); - + /* * Get/set the JNIEnv field. */ |
