Arjun Roy
8ce42f67b2
Shrink arena size by 40 bytes and add additional
...
alignment options (for cache-alignment).
We shrink by:
1) Removing an unnecessary zone pointer.
2) Replacing gpr_mu (40 bytes when using pthread_mutex_t) with
std::atomic_flag.
We also header-inline the fastpath alloc (ie. when not doing a zone
alloc) and move the malloc() for a zone alloc outside of the mutex
critical zone, which allows us to replace the mutex with a spinlock.
We also cache-align created arenas.
6 years ago
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20
.
6 years ago
yang-g
6929cdd654
initial
6 years ago
Lidi Zheng
ae72bf76b3
Regenerate projects
6 years ago
Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25
.
6 years ago
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
6 years ago
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1
, reversing
changes made to 31843787cc
.
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d
, reversing
changes made to dc1089a6d1
.
6 years ago
Karthik Ravi Shankar
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
6 years ago
Karthik Ravi Shankar
891b6cf7ae
Revert "Folding CompletionQueue and ServerCompletionQueue."
6 years ago
Soheil Hassas Yeganeh
a26c09dd25
Introduce C++ wrappers for gpr_mu and gpr_cv.
...
Introduce RAII wrappers in the grpc::internal and grpc_core
namespaces, and use them in place of std::mutex and
std::condition_variable.
Note that, since std::mutex is also used by the public
C++ headers we cannot introduce these wrappers in grpc_core.
Also, note that in grpcpp we cannot use gRPC core and vice versa.
So we had to duplicate the code, once using core_codegen_interface
and once using direct calls.
6 years ago
Lidi Zheng
8beaac2911
Regenerate projects
6 years ago
Karthik Ravi Shankar
e8c0b2433a
Make script fixes
6 years ago
Karthik Ravi Shankar
6287a60b5b
Fix script errors
6 years ago
Lidi Zheng
aaef785de8
Regenerate projects
6 years ago
Mark D. Roth
eccfecd6a6
Move functions for individual args out of channel_args.{h,cc}.
6 years ago
Lidi Zheng
1d7e99142f
Regenerate projects
6 years ago
Lidi Zheng
0231bf3b01
Regenerate projects
6 years ago
Nicolas "Pixel" Noble
16ffa810b1
More missing files.
6 years ago
Moiz Haidry
ba00d3c914
Added a locality map class that maintains a child policy per locality. This is used by the xds lb policy to manage multiple localities. Also added a grpc_core::Map which is a templatized map, that is used by the locality map to maintain this info
6 years ago
Karthik Ravi Shankar
3fe9361827
Make BUILD.gn and generate_projects.sh fix
6 years ago
Karthik Ravi Shankar
577ddfb1a1
Move ServerInitializer to grpc_impl namespace from grpc
6 years ago
Karthik Ravi Shankar
a88e3f4c2e
Move ServerBuilderOption from grpc to grpc_impl namespace
6 years ago
Mark D. Roth
206592ce9c
Restructure how addresses and service config are passed from resolver to LB policy.
6 years ago
Karthik Ravi Shankar
996da58667
Revert "Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder""
6 years ago
Karthik Ravi Shankar
e4bb7cb8bb
Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder"
6 years ago
Karthik Ravi Shankar
6ffbfaac83
Fix errors from tests
6 years ago
Karthik Ravi Shankar
e27ddbc87e
Move ::grpc::HealthCheckServiceInterface to ::grpc_impl namespace
6 years ago
Karthik Ravi Shankar
526bf39f89
Fold GenericStub from grpc_impl to grpc
6 years ago
Karthik Ravi Shankar
1d357572cf
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
...
This reverts commit d8d8bec7c8
.
6 years ago
Karthik Ravi Shankar
29bcbb24c2
Moving create_channel from grpc to grpc_impl
6 years ago
Yihua Zhang
b017c801b6
Add SPIFFE security stack to gRPC core
6 years ago
Karthik Ravi Shankar
d8d8bec7c8
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
6 years ago
Karthik Ravi Shankar
82c6e012d8
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota""
6 years ago
Karthik Ravi Shankar
b3889585a1
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
6 years ago
Srini Polavarapu
9e9cc11d2b
Regenerate projects
6 years ago
Yash Tibrewal
abcd5861eb
Nuking the poll-cv polling engine
6 years ago
Karthik Ravi Shankar
f7dd48b2b6
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
6 years ago
Karthik Ravi Shankar
3b7a47cde6
Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder
...
This change moves ServerBuilder class from grpc namespace to grpc_impl
namespace.
6 years ago
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
6 years ago
Srini Polavarapu
d63f008767
Regenerate projects
6 years ago
Mark D. Roth
aa149fedbb
Revert "Merge pull request #18093 from grpc/revert-17770-lb_policy_picker_api"
...
This reverts commit f327b83706
, reversing
changes made to b3b5d63423
.
6 years ago
hcaseyal
275296c594
Revert "LB policy picker API"
6 years ago
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago
Soheil Hassas Yeganeh
508c8d805a
Introduce more helper methods in gprpp/atomic.h
...
Retire the old atomic_with_atm.h and atomic_with_std.h as they are not
needed anymore.
Introduce helper methods which call GPR_ATM_INC_ADD_THEN and
GPR_ATM_INC_CAS_THEN, and use them everywhere.
Also introduce AtomicIncrementIfNonzero, originally authored by
vjpai@. This is going to be used for completion queues.
6 years ago
Nicolas "Pixel" Noble
ad1a34f904
Adding new header to build files.
6 years ago
Mark D. Roth
bab8123763
LB policy picker API
6 years ago
Srini Polavarapu
8d237ea703
Regenerate projects
6 years ago
Srini Polavarapu
b0efc103e3
Regenerate projects
6 years ago
Yihua Zhang
a3d997cbdc
Add a TLS credential surface API (experimental)
6 years ago
Nicolas "Pixel" Noble
b0e6cc9b5f
Forgot to declare the header.
6 years ago