Soheil Hassas Yeganeh
d37a1ba57d
Merge pull request #18932 from soheilhy/slicebuffer-reset
...
Reset slices pointer to base_slices when slice_bufer length is 0.
6 years ago
Michael Lumish
95a4a0ef76
Merge pull request #18809 from murgatroid99/cares_libuv
...
Add cares glue for libuv event loop
6 years ago
Soheil Hassas Yeganeh
e26af33726
Merge pull request #18927 from soheilhy/transport-error
...
Add a fast path in grpc_error_get_status() for GRPC_ERROR_NONE.
6 years ago
Richard Belleville
7809dee619
Merge pull request #18922 from grpc/revert-revert-due-to-unintentional-unrevert
...
Revert "Merge pull request #18912 from grpc/revert-bazel-changes"
6 years ago
Soheil Hassas Yeganeh
926bbe3a2e
Add a fast path in grpc_error_get_status() for GRPC_ERROR_NONE.
...
In most of the cases, as we hope, RPCs shouldn't have errors.
But, in grpc_error_get_status() we treat GRPC_ERROR_NONE
similar to other errors, and waste quite a few cycles.
This patch is part of a larger performance improvements.
On client side, this particular code path accounts for 0.5%+.
6 years ago
Lidi Zheng
f1dfe791ab
Merge pull request #18842 from lidizheng/respect-interval
...
Respect interval_us setting for TestServicer
6 years ago
Soheil Hassas Yeganeh
b3fb277da6
Reset slices pointer to base_slices when slice_bufer length is 0.
...
Currently, we keep increasing the slice pointer, and
can run out of the inline space or try to realloc the
non-inline space unncessarily.
Simply set slices back to the start of the base_slices,
when we know the length of the slice_buffer is 0.
Note: This will change the behavior of undo_take_first(),
if user tries to grow the slie_buffer, between take_first()
and undo_take_first() calls. That said, it's not legal
to add something to the buffer in between take_first()
and undo_take_first(). So, we shouldn't have any issue.
6 years ago
Lidi Zheng
929ca006ea
Merge pull request #18920 from lidizheng/fix-doc
...
Tiny fix for combiner comment
6 years ago
Esun Kim
ccf4734907
Merge pull request #18799 from veblush/config
...
New config system & migration sample
6 years ago
Karthik Ravi Shankar
549230467b
Merge pull request #18720 from grpc/revert-18717-grpc_namespace_server_revert
...
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
6 years ago
Arjun Roy
238fef6571
Merge pull request #18875 from arjunroy/arena_aligned_alloc_direct
...
Use aligned_alloc directly for grpc_core::Arena
6 years ago
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
hcaseyal
e3c80dc35f
Merge pull request #18870 from hcaseyal/callback_stub_doc
...
Add clarification to callback API documentation
6 years ago
Soheil Hassas Yeganeh
01d58cde23
Merge pull request #18921 from soheilhy/tcp-closure-init
...
Initialize TCP write and error closures only once.
6 years ago
Arjun Roy
046e28f77c
Merge pull request #18918 from arjunroy/md_interned_leak_fix
...
Fix regression where we do not properly account for freed interned metadata.
6 years ago
Karthik Ravi Shankar
7bf82de9ed
Merge pull request #18444 from grpc/grpc_namespace_credentials
...
Changes to fold credentials into grpc_impl from grpc
6 years ago
Arjun Roy
22c6e166c4
Use platform align_malloc function when setting custom allocators and no override provided
6 years ago
Arjun Roy
dc148b6a30
Fix regression where we do not properly account for freed interned metadata.
6 years ago
Lidi Zheng
058e90ef16
Tiny fix for combiner comment
6 years ago
Karthik Ravi Shankar
6b0806eae3
more formatting changes
6 years ago
Soheil Hassas Yeganeh
714a13c193
Initialize TCP write and error closures only once.
...
We are initializing the closures in the hot path on every event.
6 years ago
Richard Belleville
930cec4e27
Revert "Merge pull request #18912 from grpc/revert-bazel-changes"
...
This reverts commit c9a259aa3a
, reversing
changes made to 9c882bc725
.
6 years ago
Karthik Ravi Shankar
5a132b8245
Merge branch 'master' into grpc_namespace_credentials
6 years ago
Karthik Ravi Shankar
bc09c70799
Merge pull request #18454 from grpc/grpc_namespace_channel_arguments
...
Bring ChannelArguments to grpc_impl from grpc
6 years ago
Richard Belleville
c9a259aa3a
Merge pull request #18912 from grpc/revert-bazel-changes
...
Revert "Merge pull request #18859 from grpc/internal_py_proto_library"
6 years ago
Richard Belleville
50b5240d0a
Revert "Merge pull request #18859 from grpc/internal_py_proto_library"
...
This reverts commit 5b720f19c1
, reversing
changes made to a64ae3c0d5
.
6 years ago
Arjun Roy
e1a96b8347
Fixed non-debug build warning
6 years ago
Arjun Roy
a3fe7c0c90
Renamed macros for memory alignment
6 years ago
Arjun Roy
333ba8feae
Use aligned_alloc directly for grpc_core::Arena
6 years ago
Arjun Roy
9c882bc725
Merge pull request #18894 from arjunroy/arena_create_alloc_coalesce
...
Coalesce arena create/first alloc for grpc_call.
6 years ago
Richard Belleville
5b720f19c1
Merge pull request #18859 from grpc/internal_py_proto_library
...
Remove dependency on pubref/rules_proto.
6 years ago
Yang Gao
a64ae3c0d5
Merge pull request #18906 from yang-g/init_test
...
Use milliseconds for test_server timeout
6 years ago
yang-g
5e7e494638
Use milliseconds for test_server timeout
6 years ago
Arjun Roy
ed43236377
Coalesce arena create/first alloc for grpc_call.
6 years ago
Soheil Hassas Yeganeh
e74bde7702
Merge pull request #18899 from soheilhy/grpc-fix-h2-typo
...
Fix a typo in chttp2 stream initialization.
6 years ago
Jan Tattermusch
bccbbddfe4
Merge pull request #18903 from jtattermusch/bazel_rbe_biquery_uploading
...
Fix uploading bazel RBE results to bigquery
6 years ago
Jan Tattermusch
7820b44c20
Merge pull request #18060 from frazenshtein/master
...
Pass WSA_FLAG_NO_HANDLE_INHERIT flag to the WSASocketA() to avoid handle leaking on the Windows in case of using CreateProcess() on the server
6 years ago
Jan Tattermusch
952ddb6a2b
fix uploading bazel RBE results to bigquery
6 years ago
Jan Tattermusch
0ffb9ff3b5
Merge pull request #18876 from grpc/jtattermusch-patch-8
...
Add info about C# nightly nuget feed
6 years ago
Soheil Hassas Yeganeh
069547e944
Fix a typo in chttp2 stream initialization.
...
Found this during performance optimizations. We always reinitialize
this to the correct value, so this wasn't caught in tests.
6 years ago
Arjun Roy
77eb7306d8
Merge pull request #18818 from arjunroy/md_ref_unref
...
Inlined md_ref/unref and saved some unnecessary ops
6 years ago
Arjun Roy
664d4d984b
Removed gpr_atm from UserData
6 years ago
apolcyn
cdbab7bd72
Merge pull request #18752 from blowmage/bad_status-to_rpc_status
...
[Ruby] Add BadStatus#to_rpc_status
6 years ago
Richard Belleville
f371d95c47
Handle protos at root package level
6 years ago
Arjun Roy
b779a954b1
Inlined md_ref/unref and saved some unnecessary ops
6 years ago
murgatroid99
9f3c78177f
Resolve final comments
6 years ago
Yash Tibrewal
6fac033568
Merge pull request #18746 from yashykt/svc_cfg2
...
Service config changes Part 2
6 years ago
Vijay Pai
4a104eb327
Merge pull request #18887 from vjpai/explicitize
...
Make single-argument constructor explicit
6 years ago
Yash Tibrewal
5ff8df71d4
Add default constructor back to optional
6 years ago
Yang Gao
9e0f3b475e
Merge pull request #18869 from yang-g/init_test
...
Start tcp servers in place without sending them to executor
6 years ago