Esun Kim
90fbdc92f5
Roll-forward "Config migration"
...
This reverts commit 236ae12bb1 .
2019-05-20 15:47:24 -07:00
Alexander Polcyn
236ae12bb1
Revert "Config migration"
...
This reverts commit 87905ae5ea .
2019-05-14 14:36:33 -07:00
Esun Kim
87905ae5ea
Config migration
2019-05-09 12:29:38 -07:00
Alexander Polcyn
d5fb6da369
Revert "Use aligned_alloc directly for grpc_core::Arena"
...
This reverts commit 333ba8feae .
2019-05-06 15:24:21 -07:00
Esun Kim
ccf4734907
Merge pull request #18799 from veblush/config
...
New config system & migration sample
2019-05-01 09:01:35 -07:00
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
2019-04-30 15:49:24 -07:00
Arjun Roy
333ba8feae
Use aligned_alloc directly for grpc_core::Arena
2019-04-29 15:37:17 -07:00
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.
2019-04-24 16:39:03 -07:00
xtao
7766912dda
fix more detected mu/cv leaks
2019-02-16 00:00:50 +08:00
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
2018-12-06 14:37:52 -08:00
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
2018-11-30 08:57:38 -08:00
Bill Feng
9759a1b241
removed accidental submodule update
2018-11-07 15:21:04 -08:00
Adele Zhou
8edd56841e
Step 3 of multipool RBE configuration.
2018-07-13 10:46:41 -07:00
Noah Eisen
8c17b1cc5f
Scale back concurrency of arena_test
2018-06-05 22:38:01 -07:00
Muxi Yan
4b37fb0e4c
Stop including inttypes.h in gRPC core public header in Apple platforms
2018-03-12 11:43:00 -07:00
Vijay Pai
2fe87b0905
Move assignment for Thread, make destructor optional, loop cv waits
2018-03-01 11:47:36 -08:00
Vijay Pai
d71b55db98
Reduce thread count to reduce stack frame size
2018-02-24 10:28:32 -06:00
Vijay Pai
9d7e57cac4
Merge branch 'master' into 2phase_thd
2018-02-22 14:33:24 -08:00
Adele Zhou
1c805ec901
Add more bazel tests
2018-02-20 17:46:39 -08:00
Vijay Pai
c02d997607
Minor bug fixes
2018-02-20 14:31:31 -08:00
Vijay Pai
87e2e6a58a
clang-fmt
2018-02-19 22:45:47 -08:00
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
2018-02-19 22:39:58 -08:00
Vijay Pai
58a62755fc
Remove support for detached threads. All threads must be joined.
2018-02-15 21:30:13 -08:00
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
2018-02-12 11:44:52 -08:00
Noah Eisen
4d20a66685
Run clang fmt
2018-02-09 09:34:04 -08:00
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
2018-02-09 09:16:55 -08:00
Vijay Pai
0693b72b7f
Merge branch 'master' into gpr_review
2018-02-08 15:18:13 -08:00
Vijay Pai
0024ebc852
Merge pull request #14196 from vjpai/gpr_review_tls
...
GPR review: Privatize thread-local storage headers
2018-02-08 13:24:39 -08:00
Vijay Pai
18b9133f31
Merge branch 'master' into gpr_review
2018-02-08 12:18:09 -08:00
Vijay Pai
239b7d4b0b
Merge branch 'master' into gpr_review
2018-02-08 11:08:41 -08:00
Vijay Pai
25b61fd60e
Merge branch 'master' into gpr_review_tls
2018-02-08 10:26:25 -08:00
Vijay Pai
573717bc8d
Merge branch 'master' into gpr_review3
2018-02-08 10:21:11 -08:00
Vijay Pai
8f4fbb1c55
Move avl to its own directory and rename it to grpc_avl
2018-02-08 10:04:08 -08:00
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
2018-02-02 09:16:44 -08:00
Vijay Pai
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
2018-01-25 23:06:24 -08:00
Vijay Pai
b6cf123717
Privatize thread-local storage headers
2018-01-25 22:12:28 -08:00
Vijay Pai
8a99fdb57e
Move cmdline and subprocess from public gpr to test/core/util
2018-01-25 20:11:38 -08:00
Mark D. Roth
62569dd978
Fix arena to return aligned memory.
2018-01-22 12:51:03 -08:00
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
2018-01-18 11:21:12 -08:00