diff options
author | Ben Cheng <bccheng@google.com> | 2010-01-12 14:59:30 -0800 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2010-01-12 16:22:11 -0800 |
commit | 33672456e19bff9913b4a3459e6b8472f4c26c84 (patch) | |
tree | 9615592a4ec45d7715467373ca405fd54ef64dd8 /vm/compiler/Compiler.h | |
parent | 1b32de7d8a6a425d4a387906be5471ffddfb35c4 (diff) | |
download | android_dalvik-33672456e19bff9913b4a3459e6b8472f4c26c84.tar.gz android_dalvik-33672456e19bff9913b4a3459e6b8472f4c26c84.tar.bz2 android_dalvik-33672456e19bff9913b4a3459e6b8472f4c26c84.zip |
Integrate call-graph information into JIT method blacklist.
The new flag is -Xjitcheckcg which will crawl the stack frame of the
translation requesting thread.
Bug: 2368995
Diffstat (limited to 'vm/compiler/Compiler.h')
-rw-r--r-- | vm/compiler/Compiler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/compiler/Compiler.h b/vm/compiler/Compiler.h index c66d5621a..71eed5da1 100644 --- a/vm/compiler/Compiler.h +++ b/vm/compiler/Compiler.h @@ -14,6 +14,8 @@ * limitations under the License. */ +#include <Thread.h> + #ifndef _DALVIK_VM_COMPILER #define _DALVIK_VM_COMPILER @@ -39,6 +41,7 @@ typedef struct JitTranslationInfo { void *codeAddress; JitInstructionSetType instructionSet; bool discardResult; // Used for debugging divergence and IC patching + Thread *requestingThread; // For debugging purpose } JitTranslationInfo; typedef enum WorkOrderKind { |