AJ Heller
d10617edb5
Move resource_user ownership into chttp2 transport/server/connector v2 ( #27032 )
...
Reintroducing PR #26643 , which was reverted in #27029
Fixed a memory leak and added a test that would have caught it (ASAN build): ca0c8c4
2021-08-18 17:04:00 -07:00
Craig Tiller
f5d3ed2db1
Revert "Move resource_user ownership into chttp2 transport/server/connector ( #26643 )" ( #27029 )
...
This reverts commit d1935a65a1 . Will be rolled forward with a fix.
2021-08-16 19:07:39 -07:00
AJ Heller
d1935a65a1
Move resource_user ownership into chttp2 transport/server/connector ( #26643 )
2021-08-16 13:50:56 -07:00
Esun Kim
e0d8c498a6
C++ cast for others
2020-11-30 17:36:21 -08:00
Esun Kim
ec0b88a5d7
Fix google-readability-casting
2020-11-30 17:27:51 -08:00
capstan
131579d52d
Roll forward of commit 7883b51: Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
This reverts commit da66b7d14e .
NEW:
* Adds references to `absl/flags/declare.h`, new to LTS 2020923.2 imported in commit 5b43440 .
* Works around MSVC 2017 compiler error with large help text on flags by reducing the help text.
2020-11-06 16:07:19 +01:00
Nathan Herring
da66b7d14e
Revert "Abseil Flags"
2020-10-24 15:19:55 -07:00
capstan
7883b5133d
Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
2020-10-23 19:36:33 +02:00
Esun Kim
84df61b31a
Merge pull request #24453 from veblush/tidy-modernize-make-unique
...
[Clang-Tidy] Enable modernize-make-unique
2020-10-16 16:35:08 -07:00
Esun Kim
e7434d385e
Fix by tidy-modernize-use-override
2020-10-16 14:01:06 -07:00
Esun Kim
6ae8463500
Fix by modernize-make-unique
2020-10-16 13:30:56 -07:00
Esun Kim
c736cf073c
Added call to grpc::testing::TestEnvironment in more tests
2020-07-01 13:27:08 -07:00
Esun Kim
e18ed03c04
Made gRPC inialized after entering main function in microbenchmarks.
2019-05-02 16:58:37 -07:00
ncteisen
40ec89ff67
Support microbenchmarks internally
2018-04-25 17:41:23 -07:00
Vijay Pai
cdddc8ce42
Desneak client unary call, avoid Hyrum's Law (used for 1-thread simplicity)
2018-03-20 08:46:28 -07:00
Jan Tattermusch
889bb7fde4
calling create in default param is against code style
2018-01-31 23:21:41 +01:00
Jan Tattermusch
18f27376c5
avoid touching stats_ instance field before base constructor
2018-01-31 22:35:17 +01:00
Jan Tattermusch
12ba4b1e05
make grpc_passthru_endpoint_stats refcounted
2018-01-30 19:24:56 +01:00
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-06 09:47:54 -08:00
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
2017-12-06 09:05:05 -08:00
Yash Tibrewal
36522e9f80
Merge master after no Extern C changes
2017-11-30 17:47:36 -08:00
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
2017-11-29 19:07:44 -08:00
ncteisen
6dc1097c5e
Fix test cert build
2017-11-20 12:41:13 -05:00
Yash Tibrewal
177039b2f8
Merge master
2017-11-16 19:31:28 -08:00
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
2017-11-14 18:11:22 -08:00
Yash Tibrewal
75122c2357
Address some PR comments
2017-11-14 01:36:28 -08:00
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
2017-11-10 14:14:17 -08:00
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
2017-11-09 18:27:37 -08:00
Yash Tibrewal
4e9265c828
Merge with master
2017-11-09 17:46:29 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
Vijay Pai
cb36615ddd
GPR_ATTRIBUTE_NO_TSAN doesn't reach through function calls, so use a friend
2017-10-30 13:31:07 -07:00
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
2017-10-18 17:12:19 -07:00
Craig Tiller
f83b6ce151
Fix compilation
2017-10-18 13:02:44 -07:00
Craig Tiller
2145d2cee4
clang-format
2017-10-12 15:51:47 -07:00
Craig Tiller
4048569477
Fix compilation
2017-10-11 08:29:42 -07:00
Craig Tiller
710334577c
Fix sanity
2017-09-22 07:47:15 -07:00
Craig Tiller
f7225eb5f6
Fix some stalling in bm_fullstack_trickle, also switch to synthetic time
2017-09-21 14:59:28 -07:00
Alok Kumar
6b84005651
Add independent library targets for newly added .h files for microbenchmarks. Also fix includes in fullstack_fixtures.h
2017-09-13 13:34:45 -07:00
Craig Tiller
ed26a49b2c
Add annotation
2017-09-10 20:59:11 -07:00
Craig Tiller
b675e0a0af
Annotate benign race
2017-09-06 09:22:39 -07:00
ncteisen
c302eb9840
Microbenchmarks work with bazel
2017-08-22 12:24:54 -07:00
ncteisen
3c909d55fd
Pull out flow control objects
2017-07-18 17:06:58 -07:00
ncteisen
06f052b35d
Get rid of local window, fix qps worker
2017-07-18 17:06:58 -07:00
ncteisen
268a82398c
Pull flow control into one module
2017-07-18 17:06:57 -07:00
murgatroid99
882ba60fcb
Merge remote-tracking branch 'upstream/v1.4.x' into master_1.4.1_upmerge
2017-07-06 10:15:11 -07:00
ncteisen
131d2f19a1
Few more bm trickle fixes
2017-06-26 23:45:16 -07:00
ncteisen
0911b1612a
Fix bm_diff
2017-06-26 22:54:28 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
ncteisen
e9dea378c5
Pare down args once more
2017-06-06 17:02:38 -07:00
ncteisen
8758e1030f
Clang fmt
2017-06-02 11:36:30 -07:00