summaryrefslogtreecommitdiff
path: root/libutils/RefBase.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <android-build-prod@system.gserviceaccount.com>2018-07-25 04:20:30 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-07-25 04:20:30 +0000
commitfe0c3f99d20afc0e0ab6c6ecc1401d06349b6e09 (patch)
treedc86f6923c78c714845ec3547d5fd8a94c7d7225 /libutils/RefBase.cpp
parent5ec25d8cf4e37df90d5b5eb96310d706768c5125 (diff)
parent9d353bef1ed72638b2fea0fbe1b01c6763006e18 (diff)
Merge "libutils: Fix the fatal error to non fatal" into p-keystone-qcom
Diffstat (limited to 'libutils/RefBase.cpp')
-rw-r--r--libutils/RefBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libutils/RefBase.cpp b/libutils/RefBase.cpp
index 8bccb0f5c..8eecaceeb 100644
--- a/libutils/RefBase.cpp
+++ b/libutils/RefBase.cpp
@@ -500,7 +500,7 @@ void RefBase::weakref_type::decWeak(const void* id)
weakref_impl* const impl = static_cast<weakref_impl*>(this);
impl->removeWeakRef(id);
const int32_t c = impl->mWeak.fetch_sub(1, std::memory_order_release);
- LOG_ALWAYS_FATAL_IF(BAD_WEAK(c), "decWeak called on %p too many times",
+ ALOGW_IF(BAD_WEAK(c), "decWeak called on %p too many times",
this);
if (c != 1) return;
atomic_thread_fence(std::memory_order_acquire);