mirror of https://github.com/grpc/grpc.git
[context] Forcibly inline fast paths (#36970)
When building #36946 I noticed a bunch of places where `GetContext<>` was not inlined. This change forcibly inlines paths that we need to be, and additionally lowers the `CHECK` in `GetContext` to be a `DCHECK` as this comparison was using the bulk of the time in a very hot function in the stack.
Closes #36970
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36970 from ctiller:dcheckctx 28a779899d
PiperOrigin-RevId: 645202335
pull/36946/head
parent
e1530b1c88
commit
ff54357fe6
3 changed files with 21 additions and 15 deletions
Loading…
Reference in new issue