From dca714364abf3111fc18c1ac49c2760392fb7c9b Mon Sep 17 00:00:00 2001 From: Ben Cheng Date: Tue, 16 Mar 2010 16:04:11 -0700 Subject: 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 --- vm/compiler/Compiler.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vm/compiler/Compiler.h') 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 -- cgit v1.2.3