Esun Kim
1518ecbd76
Added new configuration system to core/grp.
...
More generic configuration system is introduced in order to i) unify the
way how modules access the configurations instead of using low-level
get/setenv functions and ii) enable the customization for where configuration
is stored. This could be extended to support flag, file, etc.
Default configuration system uses environment variables as before so
basically this is expected to work just as it did. This behavior can
change by redefining GPR_GLOBAL_CONFIG_DEFINE_*type* macros.
* Migrated configuration
GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS
GRPC_EXPERIMENTAL_DISABLE_FLOW_CONTROL
GRPC_ABORT_ON_LEAKS
GRPC_NOT_USE_SYSTEM_SSL_ROOTS
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
xtao
7766912dda
fix more detected mu/cv leaks
6 years ago
Yash Tibrewal
9df6023dca
Move Optional to gprpp, and reviewer comments
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
Soheil Hassas Yeganeh
4345ef121a
Add debug-only tracing to grpc_core::RefCount
...
Also, this patch removes the *WithTracing variants in favor of the new
API.
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Mark D. Roth
5214f8bc57
Fix InlinedVector to use its elements' move and copy methods.
6 years ago
Soheil Hassas Yeganeh
1dd09321cd
Add a non-polymorphic variant to RefCounted.
...
Using RefCounted<Child, NonPolymorphic> users can now build smart,
ref-counted pointers without paying the costs of a vtable when it's
possible.
6 years ago
ncteisen
8abb4370a9
Add pop_back test
6 years ago
Mark D. Roth
3abd620134
fix clang_tidy
6 years ago
Mark D. Roth
326f82e5e2
A bit of cleanup and add more tests.
6 years ago
Mark D. Roth
87e772fa7b
Fix RefCountedPtr to handle polymorphism.
6 years ago
ncteisen
2968bf687a
reviewer feedback
6 years ago
ncteisen
0f6e4dd20d
reviewer feedback:
6 years ago
ncteisen
2d2854a1ce
Add copy and move ctor to InlinedVector
7 years ago
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
7 years ago
Mark D. Roth
817d28fed6
Revert "Merge pull request #15746 from grpc/revert-15709-recv_trailing_metadata_ready2"
...
This reverts commit 3f9308ce1f
, reversing
changes made to 92a0ae0b10
.
7 years ago
Mark D. Roth
0159026111
Revert "Second attempt: move recv_trailing_metadata into its own callback, don't use on_complete for recv_ops"
7 years ago
Mark D. Roth
5b3824baf2
Code review changes.
7 years ago
kpayson64
f8c1bd826c
Fix fork test flake
7 years ago
kpayson64
c934a2e25d
Regenerate projects
7 years ago
kpayson64
ec445cc2bb
BUILD fixes
7 years ago
kpayson64
701e70da07
c++ify
7 years ago
Mark D. Roth
908a2173fe
Avoid warnings from LLVM -Wself-assign.
7 years ago
Mark D. Roth
7c1b5db3bb
Convert subchannel_list code to C++.
7 years ago
Mark D. Roth
62d2ca77db
Change InlinedVector to keep elements stored contiguously.
7 years ago
David Garcia Quintas
caa2605a28
Don't capture unnecessary or unused variables
7 years ago
Vijay Pai
756caa7c6a
Minor changes and fixes
7 years ago
Vijay Pai
2fe87b0905
Move assignment for Thread, make destructor optional, loop cv waits
7 years ago
Vijay Pai
d71b55db98
Reduce thread count to reduce stack frame size
7 years ago
Vijay Pai
c02d997607
Minor bug fixes
7 years ago
Vijay Pai
87e2e6a58a
clang-fmt
7 years ago
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
7 years ago
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
7 years ago
Mark D. Roth
08d9f3df30
Change Ref() methods to return a RefCountedPtr<>.
7 years ago
Mark D. Roth
d0e1f7466e
Fix build problem.
7 years ago
Mark D. Roth
9ab4d0c826
Add const version of operator[].
7 years ago
Mark D. Roth
19688bf7a8
Add clear() method for InlinedVector<>.
7 years ago
Mark D. Roth
4f2b0fdadf
Rename 'gpr++' directories to 'gprpp'.
7 years ago