summaryrefslogtreecommitdiff
path: root/runtime/class_linker.cc
diff options
context:
space:
mode:
author David Sehr <sehr@google.com> 2017-08-25 08:05:29 -0700
committer David Sehr <sehr@google.com> 2017-09-11 15:31:00 -0700
commita49e053faa4a254df1f21e055cb73555de241cfc (patch)
treebed0e8f0934550d4329c0aed10f016c884c6750f /runtime/class_linker.cc
parent47d00f6c4657af33c3cc29783c0f2eb156aa1449 (diff)
Show ArtMethods in imgdiag
Since ArtMethods were moved out of mirror:: classes imgdiag does not show information about them. Diff ArtMethods to facilitate finding dirty memory there. Bug: 38173645 Test: imgdiag --boot-image=/system/framework/boot.art --image-diff-pid=`pid system_server` Change-Id: Icd86a9ef14d5177a297026c22c81c080f5c85fc1
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r--runtime/class_linker.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index 4161754865..835d940af3 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -8368,6 +8368,10 @@ bool ClassLinker::IsQuickGenericJniStub(const void* entry_point) const {
(quick_generic_jni_trampoline_ == entry_point);
}
+bool ClassLinker::IsJniDlsymLookupStub(const void* entry_point) const {
+ return entry_point == GetJniDlsymLookupStub();
+}
+
const void* ClassLinker::GetRuntimeQuickGenericJniStub() const {
return GetQuickGenericJniStub();
}