summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2018-03-23 17:10:04 -0700
committerAlex Light <allight@google.com>2018-03-28 19:34:07 +0000
commitb9ad26d1ed9146b89555d4333021f44eeb831f05 (patch)
treede866c749ad0ea0d03aa9ec3d4a1f0df854e1d6f /compiler/optimizing/codegen_test_utils.h
parentbdb02895c7499e60358ffe4dba21b223e2a1a279 (diff)
Ensure that OSR still is possible with jvmti
We were previously disabling OSR by always claiming to be interested in every method. This could cause slowdown on some methods. To fix this we correctly only claim to be interested in methods if we might hit breakpoints from an invoke, have modified locals, or have forced the function to the interpreter. There was also a minor bug in the instrumentation removal code that caused prebuilt compiled code to be used when it should have been ignored. In the future we should get the granularity down to single frames but that is currently not possible. Test: ./test.py --host -j50 --all -t 993 Test: ./test.py --host -j50 Test: am start --attach-agent -n com.example.android.displayingbitmaps/.ui.ImageGridActivity Run blur filter. Bug: 76226464 Change-Id: I6a7aa0c6353372aebe01613b66841543614f3054
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions