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.c b/vm/compiler/Compiler.c
index 014013d..e7973e3 100644
--- a/vm/compiler/Compiler.c
+++ b/vm/compiler/Compiler.c
@@ -87,6 +87,8 @@
newOrder->result.discardResult =
(kind == kWorkOrderTraceDebug || kind == kWorkOrderICPatch) ?
true : false;
+ newOrder->result.requestingThread = dvmThreadSelf();
+
gDvmJit.compilerWorkEnqueueIndex++;
if (gDvmJit.compilerWorkEnqueueIndex == COMPILER_WORK_QUEUE_SIZE)
gDvmJit.compilerWorkEnqueueIndex = 0;