diff options
author | 2016-09-26 19:45:22 +0000 | |
---|---|---|
committer | 2016-09-26 19:45:23 +0000 | |
commit | a4850b0fa18c8b92dd5c20c166856cfe87aec72f (patch) | |
tree | f38d8d8aae51f53e7ee6b474f47597b784fc2316 /runtime/quick_exception_handler.cc | |
parent | 0cfe19af3b7395658210ea6044a65c9811962a7a (diff) | |
parent | 3fec9ac0d5af1358d216eb2fdc2000ec0205f3f0 (diff) |
Merge "ART: Use libbase logging"
Diffstat (limited to 'runtime/quick_exception_handler.cc')
-rw-r--r-- | runtime/quick_exception_handler.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/quick_exception_handler.cc b/runtime/quick_exception_handler.cc index b3f29c28e4..9056d96f79 100644 --- a/runtime/quick_exception_handler.cc +++ b/runtime/quick_exception_handler.cc @@ -145,7 +145,7 @@ void QuickExceptionHandler::FindCatch(mirror::Throwable* exception) { if (kDebugExceptionDelivery) { mirror::String* msg = exception->GetDetailMessage(); std::string str_msg(msg != nullptr ? msg->ToModifiedUtf8() : ""); - self_->DumpStack(LOG(INFO) << "Delivering exception: " << PrettyTypeOf(exception) + self_->DumpStack(LOG_STREAM(INFO) << "Delivering exception: " << PrettyTypeOf(exception) << ": " << str_msg << "\n"); } StackHandleScope<1> hs(self_); @@ -218,7 +218,7 @@ void QuickExceptionHandler::SetCatchEnvironmentForOptimizedHandler(StackVisitor* DCHECK(handler_method_ != nullptr && handler_method_header_->IsOptimized()); if (kDebugExceptionDelivery) { - self_->DumpStack(LOG(INFO) << "Setting catch phis: "); + self_->DumpStack(LOG_STREAM(INFO) << "Setting catch phis: "); } const size_t number_of_vregs = handler_method_->GetCodeItem()->registers_size_; @@ -520,7 +520,7 @@ void QuickExceptionHandler::PrepareForLongJumpToInvokeStubOrInterpreterBridge() void QuickExceptionHandler::DeoptimizeStack() { DCHECK(is_deoptimization_); if (kDebugExceptionDelivery) { - self_->DumpStack(LOG(INFO) << "Deoptimizing: "); + self_->DumpStack(LOG_STREAM(INFO) << "Deoptimizing: "); } DeoptimizeStackVisitor visitor(self_, context_, this, false); |