aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-07-17 12:57:55 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-07-17 12:57:55 -0700
commitb3b1cd14de238707380cc31bd5015c76bdc27266 (patch)
treee732acf46468bb2daae207dcce97309d215f6f84 /src/core
parent47f18378b507a90ae971c9c9cb4d81a7643f8fe8 (diff)
Spam cleanup
Diffstat (limited to 'src/core')
-rw-r--r--src/core/channel/client_channel.c6
-rw-r--r--src/core/client_config/lb_policy.h2
-rw-r--r--src/core/iomgr/iomgr.c1
-rw-r--r--src/core/surface/channel.h2
4 files changed, 0 insertions, 11 deletions
diff --git a/src/core/channel/client_channel.c b/src/core/channel/client_channel.c
index 1234758508..3fce931284 100644
--- a/src/core/channel/client_channel.c
+++ b/src/core/channel/client_channel.c
@@ -411,15 +411,11 @@ static void on_lb_policy_state_changed(void *arg, int iomgr_success) {
lb_policy_connectivity_watcher *w = arg;
int start_new = 0;
- gpr_log(GPR_DEBUG, "on_lb_policy_state_changed: %p %d", w->lb_policy, w->state);
-
gpr_mu_lock(&w->chand->mu_config);
/* check if the notification is for a stale policy */
if (w->lb_policy == w->chand->lb_policy) {
grpc_connectivity_state_set(&w->chand->state_tracker, w->state);
start_new = 1;
- } else {
- gpr_log(GPR_DEBUG, "stale state change: %p vs %p", w->lb_policy, w->chand->lb_policy);
}
gpr_mu_unlock(&w->chand->mu_config);
@@ -435,8 +431,6 @@ static void watch_lb_policy(channel_data *chand, grpc_lb_policy *lb_policy, grpc
lb_policy_connectivity_watcher *w = gpr_malloc(sizeof(*w));
GRPC_CHANNEL_INTERNAL_REF(chand->master, "watch_lb_policy");
- gpr_log(GPR_DEBUG, "watch_lb_policy: %p %d", lb_policy, current_state);
-
w->chand = chand;
grpc_iomgr_closure_init(&w->on_changed, on_lb_policy_state_changed, w);
w->state = current_state;
diff --git a/src/core/client_config/lb_policy.h b/src/core/client_config/lb_policy.h
index 98c741b033..320f383371 100644
--- a/src/core/client_config/lb_policy.h
+++ b/src/core/client_config/lb_policy.h
@@ -75,8 +75,6 @@ struct grpc_lb_policy_vtable {
grpc_iomgr_closure *closure);
};
-#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/iomgr/iomgr.c b/src/core/iomgr/iomgr.c
index cca92d3b32..aebf89e35a 100644
--- a/src/core/iomgr/iomgr.c
+++ b/src/core/iomgr/iomgr.c
@@ -146,7 +146,6 @@ void grpc_iomgr_shutdown(void) {
continue;
}
if (grpc_alarm_check(&g_mu, gpr_inf_future, NULL)) {
- gpr_log(GPR_DEBUG, "got late alarm");
continue;
}
if (g_root_object.next != &g_root_object) {
diff --git a/src/core/surface/channel.h b/src/core/surface/channel.h
index 8db22c0b27..71f8a55731 100644
--- a/src/core/surface/channel.h
+++ b/src/core/surface/channel.h
@@ -58,8 +58,6 @@ grpc_mdstr *grpc_channel_get_compresssion_level_string(grpc_channel *channel);
grpc_mdstr *grpc_channel_get_message_string(grpc_channel *channel);
gpr_uint32 grpc_channel_get_max_message_length(grpc_channel *channel);
-#define GRPC_CHANNEL_REF_COUNT_DEBUG
-
#ifdef GRPC_CHANNEL_REF_COUNT_DEBUG
void grpc_channel_internal_ref(grpc_channel *channel, const char *reason);
void grpc_channel_internal_unref(grpc_channel *channel, const char *reason);