OSDN Git Service

ART: Add OnLoad system classloader search support
authorAndreas Gampe <agampe@google.com>
Mon, 23 Jan 2017 23:04:59 +0000 (15:04 -0800)
committerAndreas Gampe <agampe@google.com>
Fri, 27 Jan 2017 16:35:30 +0000 (08:35 -0800)
commitcefaa14b9343b0169f800a6fe64e60c0500907be
tree06d577d35fe5c17fdf7a743388612f23eb88b5be
parent67c60656639acc92dca2ae8713add7d22683c7b9
ART: Add OnLoad system classloader search support

Add support for extension of the system classloader search path
during the OnLoad phase. Add test.

Bug: 34359699
Test: m test-art-host-run-test-936-search-onload
Change-Id: Ie0a5b4bb77999dfae87f955dde40b73ffe053b8e
16 files changed:
runtime/openjdkjvmti/OpenjdkJvmTi.cc
runtime/openjdkjvmti/ti_phase.cc
runtime/openjdkjvmti/ti_phase.h
runtime/openjdkjvmti/ti_search.cc
runtime/openjdkjvmti/ti_search.h
test/936-search-onload/build [new file with mode: 0755]
test/936-search-onload/expected.txt [new file with mode: 0644]
test/936-search-onload/info.txt [new file with mode: 0644]
test/936-search-onload/run [new file with mode: 0755]
test/936-search-onload/search_onload.cc [new file with mode: 0644]
test/936-search-onload/search_onload.h [new file with mode: 0644]
test/936-search-onload/src-ex/A.java [new file with mode: 0644]
test/936-search-onload/src/B.java [new file with mode: 0644]
test/936-search-onload/src/Main.java [new file with mode: 0644]
test/Android.bp
test/ti-agent/common_load.cc