aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-01 06:23:44 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-01 06:23:44 -0800
commit54914ee42965bb0b5a1382b1b411a5ccb94012e3 (patch)
tree620ec587653d11079a953a64deeb06dc480a7050
parente2a6510ab9bf870e8af10dd7032084c579e2940c (diff)
Turn off refcount debugging
-rw-r--r--src/core/client_config/lb_policies/round_robin.c2
-rw-r--r--src/core/client_config/lb_policy.h2
-rw-r--r--src/core/client_config/subchannel.c2
-rw-r--r--src/core/transport/transport.h2
4 files changed, 2 insertions, 6 deletions
diff --git a/src/core/client_config/lb_policies/round_robin.c b/src/core/client_config/lb_policies/round_robin.c
index 457b5d9252..f0b8ebe6fe 100644
--- a/src/core/client_config/lb_policies/round_robin.c
+++ b/src/core/client_config/lb_policies/round_robin.c
@@ -231,8 +231,6 @@ void rr_shutdown(grpc_exec_ctx *exec_ctx, grpc_lb_policy *pol) {
pending_pick *pp;
size_t i;
-gpr_log(GPR_DEBUG, "LB_POLICY: rr_shutdown: p=%p num_subchannels=%d", p, p->num_subchannels);
-
gpr_mu_lock(&p->mu);
p->shutdown = 1;
diff --git a/src/core/client_config/lb_policy.h b/src/core/client_config/lb_policy.h
index 988789c934..6754661745 100644
--- a/src/core/client_config/lb_policy.h
+++ b/src/core/client_config/lb_policy.h
@@ -78,7 +78,7 @@ struct grpc_lb_policy_vtable {
grpc_closure *closure);
};
-#define GRPC_LB_POLICY_REFCOUNT_DEBUG
+/*#define GRPC_LB_POLICY_REFCOUNT_DEBUG*/
#ifdef GRPC_LB_POLICY_REFCOUNT_DEBUG
#define GRPC_LB_POLICY_REF(p, r) \
grpc_lb_policy_ref((p), __FILE__, __LINE__, (r))
diff --git a/src/core/client_config/subchannel.c b/src/core/client_config/subchannel.c
index a97c0b823c..9f802f1cc3 100644
--- a/src/core/client_config/subchannel.c
+++ b/src/core/client_config/subchannel.c
@@ -348,8 +348,6 @@ void grpc_subchannel_notify_on_state_change(grpc_exec_ctx *exec_ctx,
int do_connect = 0;
external_state_watcher *w;
- gpr_log(GPR_DEBUG, "sc.nosc: c=%p s=%p n=%p", c, state, notify);
-
if (state == NULL) {
gpr_mu_lock(&c->mu);
for (w = c->root_external_state_watcher.next;
diff --git a/src/core/transport/transport.h b/src/core/transport/transport.h
index 08f34ff0aa..f94f0ae76e 100644
--- a/src/core/transport/transport.h
+++ b/src/core/transport/transport.h
@@ -50,7 +50,7 @@ typedef struct grpc_transport grpc_transport;
for a stream. */
typedef struct grpc_stream grpc_stream;
-#define GRPC_STREAM_REFCOUNT_DEBUG
+/*#define GRPC_STREAM_REFCOUNT_DEBUG*/
typedef struct grpc_stream_refcount {
gpr_refcount refs;