summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2017-08-16 20:22:20 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-08-16 20:22:20 +0000
commit2ade881db8642f10007c1c46b5e7f073d463c2d3 (patch)
tree0fea414e172844119a48687835283d2cfe060621
parent60b407727442438ed0c3b1e4bd5f6963cf770263 (diff)
parentae49dc05afa93103f7112e0cac2028a1f196736c (diff)
Merge "Add extra dumping for native method JIT samples check"
-rw-r--r--runtime/jit/profile_saver.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/jit/profile_saver.cc b/runtime/jit/profile_saver.cc
index 381e95f8f8..af6a45f14a 100644
--- a/runtime/jit/profile_saver.cc
+++ b/runtime/jit/profile_saver.cc
@@ -356,7 +356,8 @@ static void SampleClassesAndExecutedMethods(pthread_t profiler_pthread,
sampled_methods->AddReference(method.GetDexFile(), method.GetDexMethodIndex());
}
} else {
- CHECK_EQ(method.GetCounter(), 0u);
+ CHECK_EQ(method.GetCounter(), 0u) << method.PrettyMethod()
+ << " access_flags=" << method.GetAccessFlags();
}
}
}