Alexey Serbin has uploaded this change for review. (
http://gerrit.cloudera.org:8080/24173
Change subject: [rpc] add PREDICT_FALSE() for unlikely error scenarios
......................................................................
[rpc] add PREDICT_FALSE() for unlikely error scenarios
I was looking at the RPC code to clarify a few perf-related questions
and found that PREDICT_{TRUE,FALSE}() were not used uniformly throughout
the code. This patch adds these macros in the rest of relevant places,
where applicable.
This changelist doesn't contain any functional modifications.
Change-Id: I3178a37ec371ca4db2b818a67cf04f52b72f2dd0
---
M src/kudu/rpc/client_negotiation.cc
M src/kudu/rpc/client_negotiation.h
M src/kudu/rpc/connection.cc
M src/kudu/rpc/inbound_call.cc
M src/kudu/rpc/messenger.cc
M src/kudu/rpc/negotiation.cc
M src/kudu/rpc/outbound_call.cc
M src/kudu/rpc/proxy.cc
M src/kudu/rpc/reactor.cc
M src/kudu/rpc/rpc_controller.cc
M src/kudu/rpc/rpc_sidecar.cc
M src/kudu/rpc/serialization.cc
M src/kudu/rpc/service_pool.cc
13 files changed, 47 insertions(+), 46 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/73/24173/1
--
To view, visit http://gerrit.cloudera.org:8080/24173
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3178a37ec371ca4db2b818a67cf04f52b72f2dd0
Gerrit-Change-Number: 24173
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>