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
diff --git a/vm/compiler/Compiler.h b/vm/compiler/Compiler.h
index c66d562..71eed5d 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 @@
void *codeAddress;
JitInstructionSetType instructionSet;
bool discardResult; // Used for debugging divergence and IC patching
+ Thread *requestingThread; // For debugging purpose
} JitTranslationInfo;
typedef enum WorkOrderKind {