diff options
author | 2019-01-09 08:27:11 +0000 | |
---|---|---|
committer | 2019-01-09 08:27:11 +0000 | |
commit | 2fb49ebea175b7ec047da6944eede43317df8686 (patch) | |
tree | a1c90e0c182db5dcdc8057aad9705c149c62bbf0 /runtime/quick_exception_handler.cc | |
parent | e959e5d54e6b979e400dd096f59303391bd00494 (diff) | |
parent | 62e7c097988a52add5f51640ff8cfd79229a9dbb (diff) |
Merge "Put the deoptimized method in the trace tag."
Diffstat (limited to 'runtime/quick_exception_handler.cc')
-rw-r--r-- | runtime/quick_exception_handler.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/quick_exception_handler.cc b/runtime/quick_exception_handler.cc index 0d570c39ae..3bc718b058 100644 --- a/runtime/quick_exception_handler.cc +++ b/runtime/quick_exception_handler.cc @@ -20,6 +20,7 @@ #include "art_method-inl.h" #include "base/enums.h" #include "base/logging.h" // For VLOG_IS_ON. +#include "base/systrace.h" #include "dex/dex_file_types.h" #include "dex/dex_instruction.h" #include "entrypoints/entrypoint_utils.h" @@ -592,6 +593,10 @@ void QuickExceptionHandler::DeoptimizeSingleFrame(DeoptimizationKind kind) { // Compiled code made an explicit deoptimization. ArtMethod* deopt_method = visitor.GetSingleFrameDeoptMethod(); + SCOPED_TRACE << "Deoptimizing " + << deopt_method->PrettyMethod() + << ": " << GetDeoptimizationKindName(kind); + DCHECK(deopt_method != nullptr); if (VLOG_IS_ON(deopt) || kDebugExceptionDelivery) { LOG(INFO) << "Single-frame deopting: " |