Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66e88a71 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "libbinder: RPC clarify thread exhaustion log" am: 148b13fc am:...

Merge "libbinder: RPC clarify thread exhaustion log" am: 148b13fc am: cefd416d am: 7f855e9e am: 6d350151

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2021637

Change-Id: I46ab79402f30e4d3d3dcc230472e2ba44b516abe
parents a423062d 6d350151
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -853,10 +853,16 @@ status_t RpcSession::ExclusiveConnection::find(const sp<RpcSession>& session, Co
        }

        if (session->mConnections.mOutgoing.size() == 0) {
            ALOGE("Session has no client connections. This is required for an RPC server to make "
                  "any non-nested (e.g. oneway or on another thread) calls. Use: %d. Server "
                  "connections: %zu",
                  static_cast<int>(use), session->mConnections.mIncoming.size());
            ALOGE("Session has no outgoing connections. This is required for an RPC server to make "
                  "any non-nested (e.g. oneway or on another thread) calls. Use code request "
                  "reason: %d. Incoming connections: %zu. %s.",
                  static_cast<int>(use), session->mConnections.mIncoming.size(),
                  (session->server()
                           ? "This is a server session, so see RpcSession::setMaxIncomingThreads "
                             "for the corresponding client"
                           : "This is a client session, so see RpcSession::setMaxOutgoingThreads "
                             "for this client or RpcServer::setMaxThreads for the corresponding "
                             "server"));
            return WOULD_BLOCK;
        }