Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Optimize error handling for special cases. | Soheil Hassas Yeganeh | 2018-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. | ||
* | Add a sanity check for inclusion of port_platform.h | Alexander Polcyn | 2018-02-23 |
| | |||
* | Run clang fmt | Noah Eisen | 2018-02-09 |
| | |||
* | Autofix c casts to c++ casts | Noah Eisen | 2018-02-09 |
| | |||
* | Missing s/NULL/nullptr | ncteisen | 2018-01-03 |
| | |||
* | Revert "Revert "All instances of exec_ctx being passed around in src/core ↵ | Yash Tibrewal | 2017-12-06 |
| | | | | removed"" | ||
* | Revert "All instances of exec_ctx being passed around in src/core removed" | Yash Tibrewal | 2017-12-06 |
| | |||
* | Merge master | Yash Tibrewal | 2017-11-21 |
|\ | |||
| * | use aquire release | ncteisen | 2017-11-20 |
| | | |||
| * | Fix TSAN attempt | ncteisen | 2017-11-17 |
| | | |||
* | | Merge master | Yash Tibrewal | 2017-11-16 |
|\ \ | |||
| | * | Only alloc if status <> ok | ncteisen | 2017-11-15 |
| | | | |||
| | * | Dup the memory | ncteisen | 2017-11-15 |
| | | | |||
| | * | Merge branch 'master' of https://github.com/grpc/grpc into ↵ | ncteisen | 2017-11-15 |
| | |\ | | |/ | |/| | | | | surfacing-error-details | ||
| | * | Add error string to recv status API | ncteisen | 2017-11-13 |
| | | | |||
| * | | Enable clang-tidy as a sanity check, fix up all known failures | Craig Tiller | 2017-11-10 |
| | | | |||
| * | | s/NULL/nullptr | Craig Tiller | 2017-11-10 |
| |/ | |||
* | | Merge with master | Yash Tibrewal | 2017-11-09 |
|\| | |||
| * | Update clang-format to 5.0 | Craig Tiller | 2017-11-03 |
| | | |||
* | | Removing instances of exec_ctx being passed around in functions in | Yash Tibrewal | 2017-10-18 |
|/ | | | | | | | | | | | 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. | ||
* | Merge github.com:grpc/grpc into flowctl+millis | Craig Tiller | 2017-10-05 |
| | |||
* | Changes for C to C++. Adding extern C to header files for compatibility. | Yash Tibrewal | 2017-10-02 |
Also converting to .cc |