aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
Commit message (Collapse)AuthorAge
* Do not waste cache lines with unnecessary paddings.Gravatar Soheil Hassas Yeganeh2018-10-19
| | | | | | Make sure paddings are GPR_CACHELINE_SIZE minus the size of fields in that cache line. Otherwise, we will waste an additional cache line for no good reason.
* Add comment for grpc_error_get_int().Gravatar Soheil Hassas Yeganeh2018-10-18
| | | | Explain that the input parameter cannot be nullptr.
* Optimize error handling for special cases.Gravatar Soheil Hassas Yeganeh2018-10-18
| | | | | | | | | | | | | | This commit contains a few improvements: 1. Using a consequetive range of [0..4], will allow us to merge all branches of error_is_special into one comparison. 2. With (1), we can remove the for loops to find entries in error_status_map with a single O(1) lookup. 3. grpc_error_is_special() code paths should be inlined for ref and unref to avoid callq for the majority of cases where speical error is used. 4. grpc_error_get_int() should never accept a nullptr argument to avoid an expensive branch in the hot path. Callers should all allocate a dummy int on the stack when calling.
* Catch missing kick for non-polling pollerGravatar yang-g2018-10-16
|
* Merge pull request #16885 from ncteisen/tcp-user-timeoutGravatar Noah Eisen2018-10-16
|\ | | | | Protect Spammy Log with Tracer
* | s/more_to_come/reached_pagination_limitGravatar ncteisen2018-10-16
| |
* | Merge branch 'master' of https://github.com/grpc/grpc into channelz-paginationGravatar ncteisen2018-10-16
|\ \
| * \ Merge pull request #10859 from haorenfsa/masterGravatar hcaseyal2018-10-16
| |\ \ | | | | | | | | fix: while using eventfd, a random fd will be closed when error occurs during creating eventfd
| * \ \ Merge pull request #16819 from ncteisen/channelzGravatar Noah Eisen2018-10-15
| |\ \ \ | | | | | | | | | | Channelz Part 9: Enable by Default
| * \ \ \ Merge pull request #16801 from soheilhy/worktree-sliceGravatar Soheil Hassas Yeganeh2018-10-15
| |\ \ \ \ | | | | | | | | | | | | Avoid unnecessary ref/unref calls to get mdelem from slices.
| | * | | | Fix formatting errors introduced in a280d899.Gravatar Soheil Hassas Yeganeh2018-10-15
| | | | | |
| | | | | * protect spammy log with tracerGravatar ncteisen2018-10-15
| | |_|_|/ | |/| | |
| | * | | Use grpc_mdelem_create() directly.Gravatar Soheil Hassas Yeganeh2018-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | Remove grpc_mdelem_from_slices_no_unref() since it's a wrapper around grpc_mdelem_create().
| | | * | erge branch 'master' of https://github.com/grpc/grpc into channelzGravatar ncteisen2018-10-14
| | | |\ \ | | |_|/ / | |/| | |
* | | | | Support channelz paginationGravatar ncteisen2018-10-12
| | | | |
| * | | | Merge pull request #16838 from soheilhy/worktree-tcp-readGravatar Soheil Hassas Yeganeh2018-10-12
|/| | | | | | | | | | | | | | Simple optimizations in TCP read
| | | * | Enable channelz by defaultGravatar ncteisen2018-10-12
| |_|/ / |/| | |
* | | | Atomically set BaseNode uuidGravatar ncteisen2018-10-12
| | | |
* | | | Merge pull request #16792 from ↵Gravatar yihuaz2018-10-11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | grpc/revert-16791-revert-16695-pass_pollset_set_tsi_handshaker Revert "Revert "Create and pass pollset_set to ALTS TSI handshaker""
| | * | | Do not wait for allocation if buffer is less than half the target.Gravatar Soheil Hassas Yeganeh2018-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | We overallocate by 2x for target. Unless buffer is more than half full, we should not delay read for more allocation.
| | * | | Update TCP read estimates as soon as we read the whole buffer.Gravatar Soheil Hassas Yeganeh2018-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we have a continous stream of bytes on the socket, we will never grow the buffer, because we will never get EAGAIN, and call finish. This is a serious performance issue, which can be misued. As soon as we have a full buffer, update the estimate.
* | | | | Merge pull request #16753 from jtattermusch/unify_fallthroughGravatar Jan Tattermusch2018-10-11
|\ \ \ \ \ | |_|/ / / |/| | | | Unify fallthrough comment in switch statements
* | | | | Increment version number since grpc_use_signal deletion is an API breakerGravatar Vijay Pai2018-10-10
| | | | |
* | | | | Remove grpc_use_signal which is no longer relevantGravatar Vijay Pai2018-10-10
| | | | |
| * | | | unify fallthrough comment in switch statementsGravatar Jan Tattermusch2018-10-10
|/ / / /
* | | | Merge pull request #16800 from soheilhy/metadataGravatar Yash Tibrewal2018-10-09
|\ \ \ \ | | | | | | | | | | Make link_head consistent with link_tail.
* | | | | Add skeleton listen socket supportGravatar ncteisen2018-10-09
| | | | |
* | | | | Merge pull request #16760 from ncteisen/channelz-server-socketsGravatar Noah Eisen2018-10-09
|\ \ \ \ \ | | | | | | | | | | | | Channelz Part 8: Get Server Sockets
* \ \ \ \ \ Merge pull request #16788 from ncteisen/channelz-registryGravatar Noah Eisen2018-10-09
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add Compaction to Channelz Registry
* | | | | | | Regenerate projectsGravatar Stanley Cheung2018-10-08
| | | | | | |
| | | | | * | Revert the change in grpc.h because it's part of C API.Gravatar Soheil Hassas Yeganeh2018-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I mistakenly added "const ref" which breaks Android client.
* | | | | | | Merge pull request #16750 from AspirinSJL/timerGravatar Juanli Shen2018-10-08
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Clean some timer code
* \ \ \ \ \ \ \ Merge pull request #16795 from yashykt/disable_error_trackingGravatar Yash Tibrewal2018-10-08
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Disable error tracking until Fathom changes are commited
| | | | | | | * | Avoid unnecessary ref/unref calls to get mdelem from slices.Gravatar Soheil Hassas Yeganeh2018-10-07
| |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | grpc_mdelem_from_slices() unref's the key and value. As a result, in quite a few cases on the hot path, we first ref slice, so that grpc_mdelem_from_slices() can unref them. Add grpc_mdelem_from_slices_no_unref() which does not unref() the input slices. This cuts 0.5% - 1.0% across app benchmarks.
| | | | | * | | Make link_head consistent with link_tail.Gravatar Soheil Hassas Yeganeh2018-10-06
| |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a tiny change I note while removing memset() calls. link_head doesn't set the reserved pointer while link_tail (correctly) does.
| | | * | | | Add pop_back testGravatar ncteisen2018-10-05
| | | | | | |
* | | | | | | Merge pull request #16714 from muxi/add-timer-manager-debugGravatar Muxi Yan2018-10-05
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Core infrastructure for timer manager debug
| | * | | | | | Disable error tracking till Fathom changes are commitedGravatar Yash Tibrewal2018-10-05
| | | | | | | |
| | | | * | | | reviewer feedbackGravatar ncteisen2018-10-05
| | | | | | | |
| | | | | * | | Merge branch 'master' of https://github.com/grpc/grpc into ↵Gravatar ncteisen2018-10-05
| | | | | |\ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | channelz-server-sockets
| | | | | * | | fix objcGravatar ncteisen2018-10-05
| | | | | | | |
* | | | | | | | Merge pull request #16767 from ncteisen/channel-trace-sizeGravatar Noah Eisen2018-10-05
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Limit Channel Trace by Memory
| | | | | | * | | reviewer feedbackGravatar ncteisen2018-10-05
| | | | | | | | |
* | | | | | | | | Merge pull request #16765 from ncteisen/channelz-perfGravatar Noah Eisen2018-10-05
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Shard Channelz Stats by CPU
| | | | | | | | * | Add changes in #16782Gravatar Yihua Zhang2018-10-05
| | | | | | | | | |
| | | | | | * | | | Fix objc buildGravatar ncteisen2018-10-05
| | | | | | | | | |
| * | | | | | | | | reviewer commentsGravatar ncteisen2018-10-05
| | | | | | | | | |
| | | | | | | | * | Revert "Revert "Create and pass pollset_set to ALTS TSI handshaker""Gravatar yihuaz2018-10-05
| |_|_|_|_|_|_|/ / |/| | | | | | | |
* | | | | | | | | Merge pull request #16791 from grpc/revert-16695-pass_pollset_set_tsi_handshakerGravatar yihuaz2018-10-05
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Revert "Create and pass pollset_set to ALTS TSI handshaker"
| * | | | | | | | | Revert "Create and pass pollset_set to ALTS TSI handshaker"Gravatar Jan Tattermusch2018-10-05
| | |_|_|/ / / / / | |/| | | | | | |