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
a2316142b2
Reviewer comments
6 years ago
yang-g
37783d6329
Stop calling ParseCommandLineFlags directly, use wrapper call instead
6 years ago
Karthik Ravi Shankar
4d5a411557
Fix clang errors
6 years ago
Karthik Ravi Shankar
a1493cfa62
Add missing files for build
6 years ago
Juanli Shen
438cb44378
Add fallback-at-startup into xds
6 years ago
Mark D. Roth
ce3ff86763
Convert call_combiner to C++.
6 years ago
Karthik Ravi Shankar
5274deb32b
Fix the rebase and build
6 years ago
Prashant Jaikumar
d20d46e976
Add C++ stress tests on mac
6 years ago
Karthik Ravi Shankar
60bdeef9f4
Move Channel also to impl for now
6 years ago
Karthik Ravi Shankar
e57182ab61
Fix the compile errors for tests and namespace.
6 years ago
Karthik Ravi Shankar
603d014f0e
Changes to fold credentials into grpc_impl from grpc
6 years ago
yang-g
39cfbf9d4a
cast and default initializer
6 years ago
Karthik Ravi Shankar
858b5cca20
Fix clang_format_code.sh issues and move the internal calls to new name
6 years ago
yang-g
41824319fa
Resolve review comments
6 years ago
Yash Tibrewal
4309a98b66
Health checking service name to be passed as a channel arg for now
6 years ago
Nicolas "Pixel" Noble
b9a279c030
Resolving ambiguous call to CreateCustomChannel.
6 years ago
Vijay Pai
20c08dbc7a
Add client-side unary reactor model
6 years ago
Yash Tibrewal
116ce0fb24
Use 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
051d421579
Resolve sanity
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
Karthik Ravi Shankar
62fb156122
Fold CompletionQueue and ServerCompletionQueue into grpc_impl
6 years ago
Karthik Ravi Shankar
973fa6950e
Fold Channel into grpc_impl from grpc namespace
6 years ago
Karthik Ravi Shankar
2e88231fc0
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
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
Vijay Pai
41c6cba9f5
Make sure that OnCancel happens after OnStarted
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
Yash Tibrewal
8eeb429db0
Missing argument
6 years ago
Yash Tibrewal
327350ab39
ServiceConfig::Create expects non-Null error and better errors
6 years ago
Juanli Shen
4ae20ad972
Fix count in xds/grpclb test
6 years ago
Prashant Jaikumar
80140f53fb
Fix CFStreamTest.NetworkTransition.
...
It looks like CFStream doesn't detect stream errors when the server is listening on 127.0.0.2 and the interface is shutdown.
The test started failing after address was changed from 10.0.0.1 to 127.0.0.2 in #18381 . This commit changes the server address back to 10.0.0.1.
6 years ago
Yash Tibrewal
cb6a2968fe
Make Interceptors work for lame channels
6 years ago
Mark D. Roth
9e841d1aff
Backport pick_first fix to v1.20.x
6 years ago
Mark D. Roth
ee4e4bead3
pick_first: don't go into TRANSIENT_FAILURE upon empty update when in IDLE.
6 years ago
Mark D. Roth
ce2af3b958
Remove noisy log message.
6 years ago
Juanli Shen
1979edd03c
Fix BackendsRestart test
6 years ago
Prashant Jaikumar
4e9e662729
Fixed bug in CFStream endpoint.
...
We were failing to return an error when the transport tried to write to an endpoint that was in an errored state.
6 years ago
yang-g
8f77928e04
Log error to stderr
6 years ago
Mark D. Roth
206592ce9c
Restructure how addresses and service config are passed from resolver to LB policy.
6 years ago
Guantao Liu
872d2787a0
Avoid using grpc_core::Executor when the background poller is available.
...
Instead, run closures in the background poller. This will generally
avoid the thread hop in the gRPC runtime.
6 years ago
Karthik Ravi Shankar
8dbaa13f52
Fix more grpc namespace issues
6 years ago
Karthik Ravi Shankar
92bde3922f
Fix tests to use grpc namespace.
6 years ago
Karthik Ravi Shankar
b25f6da3f0
Make changes to fix test failures
6 years ago
Karthik Ravi Shankar
4e0923e802
Fix errors from clang_format_code.sh
6 years ago
yang-g
621840900f
Fully log test scenario
6 years ago