Noah Eisen
9ab3e5d919
Fix tracer TSAN bug
7 years ago
Nathaniel Manista
95bcb4924b
Avoid unsupported and unintended API self-use
...
"Do not make undocumented and unsupported use of one part of an API
from within the implementation of another part of the same API" is one
of the rules of Abstraction Club. Not sure if it's important enough to
be the first two rules, but it's up there.
7 years ago
Mark D. Roth
b319f491ff
Code review changes.
7 years ago
Muxi Yan
b7b3f72dac
Fix uninitialized variable
7 years ago
murgatroid99
454fbd2cec
Fix uv TCP server handling of wildcard addresses
7 years ago
Nathaniel Manista
6e6e31e75b
grpc.CallCredentials doc string correction
7 years ago
Yash Tibrewal
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
7 years ago
Camillo Lugaresi
962722cbc0
Fix alignment issue in gpr_murmur_hash3
...
This function cast a void* to a uint32_t*. This is invalid, since a uint32_t* must be 32-bit-aligned, while the input key clearly isn't. Even though the function later uses memcpy to access the memory, by that point the compiler is allowed to assume that the pointer is aligned, and so it can output code that does an unaligned memory access.
In practice, this resulted in a crash on some devices when this code is compiled with optimizations for 32-bit ARM with the Android NDK r14.
7 years ago
Mark D. Roth
d3984c32c8
clang-format
7 years ago
Mark D. Roth
3228489f0b
Fix include guard check.
7 years ago
Mark D. Roth
835537fbc7
Implement MakeReferenceCounted<> helper.
7 years ago
Mark D. Roth
cf9ca843eb
Add ReferenceCountedPtr class.
7 years ago
Mark D. Roth
abadc6c516
Use New() and Delete() instead of C++ new and delete.
7 years ago
Jan Tattermusch
53bbde3c49
address comments
7 years ago
Alex Polcyn
81e9581bf3
Remove some sleeps in ruby tests and fix test server shutdown
7 years ago
Mehrdad Afshari
14e96f9ae8
Bump 1.8.0-dev to 1.9.0-dev
7 years ago
Mehrdad Afshari
552a7ca088
Bump 1.8.0-dev to 1.8.0-pre1
7 years ago
Muxi Yan
9f6a6f3f1a
Fix compiler error on need_to_unref_constructed
...
`need_to_unref_constructed` is not initialized, making Xcode compiler [complain on Sierra](https://sponge-qa.corp.google.com/invocation?tab=Kokoro&id=0ff33b71-2f61-4ad6-837e-5e43043c282a&searchFor= ):
```
/Volumes/BuildData/tmpfs/src/github/grpc/workspace_objc_macos_dbg_native/src/core/ext/filters/client_channel/subchannel_index.cc:206:7: error: variable 'need_to_unref_constructed' may be uninitialized when used here [-Werror,-Wconditional-uninitialized]
```
7 years ago
Yash Tibrewal
3285f4c732
Fix grpc_init by removing exec_ctx usage before init
7 years ago
Muxi Yan
0a5cacae46
Remove changes for podspecs other than gRPC-Core
7 years ago
Yash Tibrewal
45b7ad5cf5
GPR_TLS Macro fix, and windows resolve_address fix
7 years ago
Mark D. Roth
70db663ae8
Add ReferenceCounted base class.
7 years ago
Muxi Yan
fba967747c
generate_projects
7 years ago
Yash Tibrewal
6fbe010851
minor objc test change
7 years ago
Yash Tibrewal
ba0689fa2a
tls macro changes and UV fix
7 years ago
Vijay Pai
c04f4f16cd
Revert "Revert "Do not interpolate variables in leading comments.""
7 years ago
Mehrdad Afshari
0df9c8acdc
Update Python dependency to protobuf v3.5.0.post1
7 years ago
David G. Quintas
333dd3e1ad
Revert "Do not interpolate variables in leading comments."
7 years ago
Mark D. Roth
dc8be882f7
Fix handling of grpc shutdown in timer callback.
7 years ago
Muxi Yan
32318b05e3
Fix ObjC C++ syntax error
7 years ago
Mark D. Roth
aaad0c2e5a
clang-format
7 years ago
Jan Tattermusch
21cde3d22a
use pool in SendMessageBenchmark
7 years ago
Jan Tattermusch
2e631706e2
expose batchcontextpool settings
7 years ago
Jan Tattermusch
63834bf62a
add basic tests
7 years ago
Jan Tattermusch
0f41e496d2
simple version of batchcontext pooling
7 years ago
Jan Tattermusch
1ee85d13a4
expose batchcontext.Reset
7 years ago
Yash Tibrewal
eaf67dbdf6
Fixing errors and minor bugs
7 years ago
Vijay Pai
891254292e
Remove lockfree stack, again
7 years ago
Jan Tattermusch
fcb4205645
silence uninitialized use warning
7 years ago
Yash Tibrewal
a13a8c0f3e
A few src/core fixes due to missing exec_ctx_finish
7 years ago
Nathaniel Manista
0eacb45a48
Elide local field by directly returning values
7 years ago
Nathaniel Manista
77d2c721cb
Add missing const
7 years ago
Nathaniel Manista
1628da0136
Avoid abbreviation in Python API
...
I should have requested this during code review of bcf083fa90
but it slipped my mind.
7 years ago
ncteisen
264560ff4a
Reviewer feedback
7 years ago
Jan Tattermusch
eec8b84c71
spinlock in completion registry is slightly faster
7 years ago
Jan Tattermusch
8bae77cdd1
add completion registry benchmark with shared registry too
7 years ago
Jan Tattermusch
da8ef40465
save allocation by using a struct instead of a tuple
7 years ago
Jan Tattermusch
85807230fb
consistent naming for OnReceivedCloseOnServer
7 years ago
Jan Tattermusch
2622fdc07d
remove legacy delegates
7 years ago
Jan Tattermusch
c5638887bf
make everything compile
7 years ago