summaryrefslogtreecommitdiff
path: root/runtime/reflection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/reflection.cc')
-rw-r--r--runtime/reflection.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/reflection.cc b/runtime/reflection.cc
index 3e58b4bd94..5e44a4c256 100644
--- a/runtime/reflection.cc
+++ b/runtime/reflection.cc
@@ -38,6 +38,13 @@ jobject InvokeMethod(const ScopedObjectAccess& soa, jobject javaMethod, jobject
jmethodID mid = soa.Env()->FromReflectedMethod(javaMethod);
mirror::ArtMethod* m = soa.DecodeMethod(mid);
+ std::string pretty_descriptor(PrettyDescriptor(m->GetDeclaringClass()));
+ if (true ||
+ StartsWith(pretty_descriptor, "Lcom/eclipsim/gpsstatus2/") ||
+ StartsWith(pretty_descriptor, "Lo/")) {
+ LG << "XXX bdc InvokeMethod reflectively calling " << PrettyMethod(m);
+ }
+
mirror::Class* declaring_class = m->GetDeclaringClass();
if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(declaring_class, true, true)) {
return NULL;