summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2018-06-07 16:48:04 -0700
committer Alex Light <allight@google.com> 2018-06-12 16:00:28 -0700
commitb32c6a914e7e7658c5ea64a00f2776e351adaa74 (patch)
tree6ee36dcafb68a5342c31f4e667a4c0c9202b8a18 /compiler/optimizing/code_generator.cc
parentff5d955306660a6f6515967659515717076c1d87 (diff)
Removing instrumentation trampolines doesn't remove exit stubs
It is possible for tracing to be turned off (and instrumentation trampolines removed) at any time so long as all threads are suspended. Our stack walking code assumed that once the trampolines have been removed from the method entrypoints there will be no more exit stubs on the stack. This is not true and can cause crashes. NB Test requires several other patches to actually run far enough to hit this issue. Test: ./test/testrunner/testrunner.py --host --runtime-option=-Xplugin:libtracefast-trampolined.so Change-Id: I1bc55bc180bf4605028cae4f070e6c8e2c65f034
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions