mirror of https://github.com/grpc/grpc.git
In the hot path, specially when the dtor of a class is inlined, we will have to skip quite a few instructions (for Delete and dtor) before returning. Mark Unref() as unlikely so that compiler moves the decrement-refcnt-and-return code instructions to the front.pull/18993/head
parent
e9672bfb99
commit
983f678cb8
5 changed files with 8 additions and 8 deletions
Loading…
Reference in new issue