diff --git a/interfaces/innerkits/ipc_core/include/ipc_object_stub.h b/interfaces/innerkits/ipc_core/include/ipc_object_stub.h index 3b5625e1..b84aea36 100644 --- a/interfaces/innerkits/ipc_core/include/ipc_object_stub.h +++ b/interfaces/innerkits/ipc_core/include/ipc_object_stub.h @@ -303,7 +303,7 @@ private: std::recursive_mutex serialRecursiveMutex_; bool serialInvokeFlag_; - uint64_t lastRequestTime_; + std::atomic lastRequestTime_; std::atomic requestSidFlag_ = false; }; } // namespace OHOS diff --git a/ipc/native/src/core/source/process_skeleton.cpp b/ipc/native/src/core/source/process_skeleton.cpp index 180ac68c..8f603188 100644 --- a/ipc/native/src/core/source/process_skeleton.cpp +++ b/ipc/native/src/core/source/process_skeleton.cpp @@ -269,8 +269,6 @@ bool ProcessSkeleton::IsValidObject(IRemoteObject *object, std::u16string &desc) auto it = validObjectRecord_.find(object); if (it != validObjectRecord_.end()) { desc = it->second; - ZLOGD(LOG_LABEL, "%{public}u descriptor:%{public}s", ConvertAddr(object), - ConvertToSecureDesc(Str16ToStr8(desc)).c_str()); return true; } return false;