diff options
author | 2022-08-12 06:52:18 +0000 | |
---|---|---|
committer | 2022-08-12 07:23:03 +0000 | |
commit | 7cc22bb96e4e05cf63661eed7fd3dda5304bdacc (patch) | |
tree | b39731daca19a3873c32bc9147147fd0de77e635 /runtime/trace.cc | |
parent | 889403b999b236c055df6e64019dcca8622322fc (diff) |
Revert "Update instrumentation support for non-java debuggable runtimes"
This reverts commit 6ecfa91a040bb1a58e57ad99ab2765cd911e845a.
Reason for revert: Failures on jit-on-first-use config: https://android-build.googleplex.com/builds/submitted/8937466/art-jit-on-first-use/latest/view/logs/build.log
Change-Id: I5d910abf27f5b2dcf3af646b4077af78290c5fdc
Diffstat (limited to 'runtime/trace.cc')
-rw-r--r-- | runtime/trace.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/trace.cc b/runtime/trace.cc index edca549ff2..6b4fb291b1 100644 --- a/runtime/trace.cc +++ b/runtime/trace.cc @@ -431,8 +431,8 @@ void Trace::Start(std::unique_ptr<File>&& trace_file_in, // we know that inlining and other problematic optimizations are disabled. We might just // want to use the trampolines anyway since it is faster. It makes the story with disabling // jit-gc more complex though. - runtime->GetInstrumentation()->EnableMethodTracing(kTracerInstrumentationKey, - /*needs_interpreter=*/false); + runtime->GetInstrumentation()->EnableMethodTracing( + kTracerInstrumentationKey, /*needs_interpreter=*/!runtime->IsJavaDebuggable()); } } } |