OSDN Git Service

ART: Add GetClassSignature
authorAndreas Gampe <agampe@google.com>
Sat, 29 Oct 2016 02:34:57 +0000 (19:34 -0700)
committerAndreas Gampe <agampe@google.com>
Mon, 31 Oct 2016 21:38:17 +0000 (14:38 -0700)
commite492ae3e59849ee205c22cd15d3c4df2c4bc2d4c
treec4fccd9c18d645dd29213e62f3659250f8540aa8
parente7b46e22c7f4f6f503501b3b2ad99113289d142b
ART: Add GetClassSignature

Add support to retrieve the signature of a JNI class.

Add a test.

Bug: 31684578
Test: m test-art-host-run-test-912-classes
Change-Id: I1cf946996f9089cb5d41e93b4f1064193e9d6350
15 files changed:
runtime/openjdkjvmti/Android.bp
runtime/openjdkjvmti/OpenjdkJvmTi.cc
runtime/openjdkjvmti/art_jvmti.h
runtime/openjdkjvmti/ti_class.cc [new file with mode: 0644]
runtime/openjdkjvmti/ti_class.h [new file with mode: 0644]
runtime/openjdkjvmti/ti_method.cc
test/912-classes/build [new file with mode: 0755]
test/912-classes/classes.cc [new file with mode: 0644]
test/912-classes/classes.h [new file with mode: 0644]
test/912-classes/expected.txt [new file with mode: 0644]
test/912-classes/info.txt [new file with mode: 0644]
test/912-classes/run [new file with mode: 0755]
test/912-classes/src/Main.java [new file with mode: 0644]
test/Android.bp
test/ti-agent/common_load.cc