summaryrefslogtreecommitdiff
path: root/runtime/quick_exception_handler.cc
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2018-06-08 15:33:21 -0700
committerAlex Light <allight@google.com>2018-07-10 08:44:17 -0700
commit2d441b1253cca39bf3078422e8f0b2f4ec1bb408 (patch)
tree3db740023b1322749856f943c4b25b8158da8a44 /runtime/quick_exception_handler.cc
parente824cfdcfd41d400237a806ff93caca7f2e51878 (diff)
Make instrumentation trampoline able to jump to jit code
In order to get the benefit of the instrumentation trampoline it must be able to jump to jit code. This patch adds support for doing that and adds code to ensure that we will not be jumping back and forth between the trampoline and the interpreter all the time if the jit has not yet compiled the current method. Note we also disable the jit-gc when turning on these trampolines since otherwise we could end up either sending instrumentation events multiple times or running uninitialized memory. Bug: 110263880 Test: ./test/testrunner/testrunner.py --host --runtime-option=-Xplugin:libtracefast-trampolined.so Test: ./test/testrunner/testrunner.py --host --runtime-option=-Xplugin:libtracefast-trampolined.so --runtime-option=-Xjitthreshhold:0 Test: ./test.py --host Change-Id: Ie6e92ec6367452fe4fde24d520d808b7af91d1b5
Diffstat (limited to 'runtime/quick_exception_handler.cc')
0 files changed, 0 insertions, 0 deletions