diff options
author | Alex Light <allight@google.com> | 2017-09-19 15:35:20 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2017-09-20 10:37:53 -0700 |
commit | 0ac2e5c1013cb41d73aa87c885fd99d4e5eb7d11 (patch) | |
tree | f4d1d5b037010c3b9d94b84fc88331adf5374a39 /compiler/optimizing/codegen_test_utils.h | |
parent | 8048bf6d13dd4492df8d59ecb795987558e2e579 (diff) |
Add property-changing JVMTI agent wrapper.
Adds libwrapagentproperties agent that allows one to change or add to
the system properties observed by a JVMTI agent. This is useful for
compatibility as some JVMTI agents expect to be able to find system
properties that are not present in ART. With this we can run them
without having to modify the runtime itself.
Also adds a --agent-wrapper flag to run-jdwp-tests.sh to facilitate
the use of this agent.
Test: mma -j40 libwrapagentproperties
Test: ./art/tools/run-jdwp-tests.sh \
--mode=host \
--variant=x64 \
-Xplugin:$ANDROID_HOST_OUT/lib64/libopenjdkjvmtid.so \
--jdwp-path /usr/lib/jvm/default-java/jre/lib/amd64/libjdwp.so \
--agent-wrapper $ANDROID_HOST_OUT/lib64/libwrapagentproperties.so=$PWD/art/tools/libjdwp-compat.props
Change-Id: Ic5eef7e9b4b8c54f4b0683dbb4e71768cbf4f97c
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions