Yash Tibrewal
156d743c37
Reviewer comments
6 years ago
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
Yash Tibrewal
edd817a46f
Reviewer comments
6 years ago
Yash Tibrewal
07e899f5f3
Separate out message size parsing into a different file to avoid build issues
6 years ago
Muxi Yan
9e593f721f
build system fix for default CFStream
6 years ago
Yash Tibrewal
2c4c8438cc
Message size filter parser and health check parser
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
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
Karthik Ravi Shankar
506ca7fc36
Fix clang script errors
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
Karthik Ravi Shankar
4cb0d0d6b1
Fix errors from clang scripts
6 years ago
Karthik Ravi Shankar
e8c0b2433a
Make script fixes
6 years ago
Karthik Ravi Shankar
6287a60b5b
Fix script errors
6 years ago
Mark D. Roth
eccfecd6a6
Move functions for individual args out of channel_args.{h,cc}.
6 years ago
Muxi Yan
f9a9639088
generate projects
6 years ago
Karthik Ravi Shankar
ac7c736057
Fix BUILD.gn file
...
https://github.com/grpc/grpc/pull/18345 did not add a file to BUILD.gn
causing generate_projects.sh to fail causing this error.
Fixing it by running the generate_projects.sh script.
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
fe65432a72
Make BUILD.gn fixes
6 years ago
Karthik Ravi Shankar
47c26836b8
Fix BUILD.gn
6 years ago
Karthik Ravi Shankar
8d22a7b775
Fix BUILD.gn file
6 years ago
Karthik Ravi Shankar
da78fdc051
Fix BUILD.gn files
6 years ago
Karthik Ravi Shankar
da1ea4d77e
Fix BUILD.gn files
6 years ago
Karthik Ravi Shankar
12cd0dbd1d
Fix BUILD.gn file
6 years ago
Karthik Ravi Shankar
7660adfd80
Fix BUILD.gn file
6 years ago
Mark D. Roth
206592ce9c
Restructure how addresses and service config are passed from resolver to LB policy.
6 years ago
Arjun
ca69f911a7
Add initial Fuchsia support.
...
1. Add a BUILD.gn file
2. Support fuchsia as a platform
This is heavily based on the changes in https://fuchsia.googlesource.com/third_party/grpc/
6 years ago
Karthik Ravi Shankar
54171e276f
Fold server credentials from grpc to grpc_impl namespace
6 years ago
Karthik Ravi Shankar
d684ddc7e3
Fold AuthMetadataProcessor into grpc_impl from grpc
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
e9593285a8
Move LoadReportingServiceServerBuilderOption from grpc to grpc_impl
6 years ago
Vishal Powar
f569cc1b36
Add BUILD rul and generated upb code for protos required to do DiscoveryRequest to xDS server
...
Also,
- cleanup check scripts to look for file extension to exempt upb
generated code.
6 years ago
Karthik Ravi Shankar
29bcbb24c2
Moving create_channel from grpc to grpc_impl
6 years ago
Karthik Ravi Shankar
f66b654795
Revert "Revert "Fold opencensus into grpc_impl namespace""
6 years ago
Karthik Ravi Shankar
2bf934f97d
Revert "Fold opencensus into grpc_impl namespace"
6 years ago
Yihua Zhang
b017c801b6
Add SPIFFE security stack to gRPC core
6 years ago
Karthik Ravi Shankar
90edf47fe9
Move server_posix from grpc to grpc_impl namespace
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
Vishal Powar
319fcdf26e
Add a script for generating C code and build rule for protobuf protos.
...
All these changes need to go together to make sense
- changes to use new version of upb in bazel
- allowing includes in build target option
- script for generating c code (upb) for protos
- generated code for example protos
- adding changes for non-bazel builds
- change sanity tests to ignore the generated files.
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
3eba2e6fd4
bump ver to 1.19.1
6 years ago
Yash Tibrewal
abcd5861eb
Nuking the poll-cv polling engine
6 years ago