diff options
author | Alex Light <allight@google.com> | 2018-06-11 10:28:06 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2018-07-10 08:44:52 -0700 |
commit | 25bf44622d6359c1d49c2a8a8b45938ff099f811 (patch) | |
tree | d1a0e1f8069001d6880723f77e95efb01385ca71 /compiler/optimizing/codegen_test_utils.h | |
parent | d109e30eab8ba25f8d89be2a83d9036e2d541af2 (diff) |
Rewrite JVMTI method tracing to use trampolines
Now that we have working instrumentation trampolines we can rewrite
the MethodEntry and MethodExit events to use these instead of the
interpreter. This will improve performance of code being traced in
this way by allowing the actual code to still use optimized jit code.
Test: ./test/testrunner/testrunner.py --host --runtime-option=-Xjitthreshold:0 --jit
Test: ./test/testrunner/testrunner.py --host --jit --debug --runtime-option=-Xplugin:libtracefast-trampolined.so
Test: ./test/testrunner/testrunner.py --host --jit --debug --runtime-option=-Xjitthreshold:0 --runtime-option=-Xplugin:libtracefast-trampolined.so
Test: ./test/testrunner/testrunner.py --host --debuggable --run-test-option='--with-agent libtifast.so=MethodEntry,MethodExit'
Test: ./test/testrunner/testrunner.py --host --debuggable --jit --runtime-option=-Xjitthreshold:0 --run-test-option='--with-agent libtifast.so=MethodEntry,MethodExit'
Test: adb shell am start-activity -S --attach-agent /data/local/tmp/libtifast.so=MethodEntry,MethodExit <some app>
Change-Id: I37c2ece14b1b12a79390da7d668ebbefa2966f87
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions