From b03ab65818552e617c90a8c00118d6b8f6b8dcb4 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 3 Jun 2022 08:21:09 -0700 Subject: [PATCH] [call] Fix field type on grpc_cq_completion (#29880) * [call] Remove unused field from grpc_cq_completion 1. This field is unused, and therefore unnecessary 2. In https://github.com/grpc/grpc/pull/20119 this field was changed from a node (8 bytes) to a queue (80 bytes) Removing this field should save 480 bytes per outstanding call on each of the client and server. * fix --- src/core/lib/surface/completion_queue.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/lib/surface/completion_queue.h b/src/core/lib/surface/completion_queue.h index f6f51394aa1..9556e416db0 100644 --- a/src/core/lib/surface/completion_queue.h +++ b/src/core/lib/surface/completion_queue.h @@ -41,7 +41,8 @@ extern grpc_core::DebugOnlyTraceFlag grpc_trace_pending_tags; extern grpc_core::DebugOnlyTraceFlag grpc_trace_cq_refcount; typedef struct grpc_cq_completion { - grpc_core::ManualConstructor + grpc_core::ManualConstructor< + grpc_core::MultiProducerSingleConsumerQueue::Node> node; /** user supplied tag */