diff options
author | Ben Cheng <bccheng@android.com> | 2010-03-16 16:04:11 -0700 |
---|---|---|
committer | Ben Cheng <bccheng@android.com> | 2010-03-16 16:04:11 -0700 |
commit | dca714364abf3111fc18c1ac49c2760392fb7c9b (patch) | |
tree | ea2a680444a0990673cf43961482e407b6ca35f0 /vm/compiler/Compiler.h | |
parent | fcd1cbd456809d2a2c58644efb71e1f42810d3ab (diff) | |
download | android_dalvik-dca714364abf3111fc18c1ac49c2760392fb7c9b.tar.gz android_dalvik-dca714364abf3111fc18c1ac49c2760392fb7c9b.tar.bz2 android_dalvik-dca714364abf3111fc18c1ac49c2760392fb7c9b.zip |
Implement signature-based breakpoint for the JIT compiler.
The JIT compiler will replay itself with verbose printing if the compiled
instruction stream matches the customized signature from memory dump in the
bugreports.
Change-Id: I024082c5744903273b24a0a73468b9c0d3588ad5
Diffstat (limited to 'vm/compiler/Compiler.h')
-rw-r--r-- | vm/compiler/Compiler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vm/compiler/Compiler.h b/vm/compiler/Compiler.h index 21c86abb8..5b667355d 100644 --- a/vm/compiler/Compiler.h +++ b/vm/compiler/Compiler.h @@ -20,6 +20,11 @@ #ifndef _DALVIK_VM_COMPILER #define _DALVIK_VM_COMPILER +/* + * Uncomment the following to enable JIT signature breakpoint + * #define SIGNATURE_BREAKPOINT + */ + #define MAX_JIT_RUN_LEN 64 #define COMPILER_WORK_QUEUE_SIZE 100 #define COMPILER_IC_PATCH_QUEUE_SIZE 64 |