Commit Graph

184 Commits

Author SHA1 Message Date
Alexander Polcyn f5521c33f9 Revert "Merge branch 'master' into v1.3.x"
This reverts commit 79759fea1a, reversing
changes made to dc36f4df6a.
2017-04-26 14:18:39 -07:00
Craig Tiller 14ff003ae4 Merge pull request #10751 from ctiller/speedup-build
Speed up tests
2017-04-20 12:23:45 -07:00
Craig Tiller d47be446d7 Speed up tests 2017-04-19 17:26:24 -07:00
Craig Tiller d1a6423199 Use stdlib to avoid ubsan errors 2017-04-19 15:34:29 -07:00
Craig Tiller 0362d6b374 ubsan fixes 2017-04-13 07:59:08 -07:00
Craig Tiller a044424430 clang-format 2017-04-03 15:17:05 -07:00
Craig Tiller 3a20cec8a3 Merge branch 'arena' of github.com:ctiller/grpc into arena 2017-04-03 15:16:46 -07:00
Craig Tiller dced510997 Fix arena_test on 32-bit platforms (includes Windows) 2017-04-03 12:50:49 -07:00
yang-g 07429fa9a6 Update time_cmp to ignore tv_nsec when tv_sec is INT64 MAX or MIN 2017-03-29 17:22:19 -07:00
yang-g 1aba869e9e Make convert clock_type consistent with add/sub when dealing with extreme values 2017-03-28 21:41:02 -07:00
Yuchen Zeng 289bc21585 Merge pull request #9995 from y-zeng/cpu_test
Avoid repetitive division calculations
2017-03-17 11:35:14 -07:00
Craig Tiller 37723c9ee0 Fix race condition 2017-03-13 07:45:44 -07:00
Craig Tiller 0dd81003b5 Concurrent test 2017-03-13 06:57:29 -07:00
Craig Tiller 9202b3fdfd Arena allocator for grpc 2017-03-12 22:30:38 -07:00
Yuchen Zeng f0d6b88626 Avoid repetitive division calculations 2017-03-07 11:32:44 -08:00
Yuchen Zeng 39514ccb29 Add licenses() in BUILD files 2017-03-01 22:32:47 -08:00
Craig Tiller 6517333d17 Merge pull request #9881 from ctiller/spinlock
Add a spinlock type.
2017-02-28 12:57:01 -08:00
Craig Tiller b73ad23bd8 Fix memory leak 2017-02-27 15:57:24 -08:00
Craig Tiller edbf2b9d13 Add a spinlock type.
Useful for situations where we need to repeatedly trylock, not useful
for cases where we need to lock (due to spinning).

Add a variant of sync_test to test it (with the same tests we run for
gpr_mu).

Add a benchmark to bm_closure to demonstrate single threaded performance.
2017-02-27 07:24:00 -08:00
Craig Tiller 6f4178878c Add zalloc, convert a bunch of files to use it 2017-02-16 14:09:39 -08:00
Robbie Shade ca7effcdff Replace timeout/scaling macros with functions. 2017-01-31 15:40:20 -05:00
yang-g 1da20c10b0 Remove unused load 2017-01-11 10:50:26 -08:00
Nicolas "Pixel" Noble 203860ac23 Merge remote-tracking branch 'google/master' into bazel-take-2 2017-01-04 22:10:14 +01:00
Julien Boeuf 964d7bb482 Fixing JWT verifier.
- Initializes grpc correctly in the JWT utils.
- Make the email mapping work with the new service accounts produced by
  Google IAM.
- Adding check for email issuers where the issuer has to be the subject as well.
- Implementing portable version of memrchr.
2016-12-21 22:04:36 -08:00
David Garcia Quintas 1edfb952d0 Updated backoff to spec. 2016-11-24 00:47:51 -08:00
Craig Tiller 0f310807ff Update includes, s/gpr_dump_slice/grpc_dump_slice/g 2016-10-26 16:25:56 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
Craig Tiller d3e645f07d e2e fuzzers 2016-10-20 12:15:27 -07:00
Craig Tiller 31a1bbd4bc Make fuzzer unit tests work 2016-10-20 11:45:59 -07:00
Craig Tiller ad57f1678e Begin fuzzing framework 2016-10-20 11:32:28 -07:00
Craig Tiller 7ad2d0b463 end2end test generation (first try) 2016-10-20 10:44:50 -07:00
Nicolas "Pixel" Noble 60ca22fef5 Basic testing. 2016-10-20 10:23:53 +02:00
Craig Tiller aef13f78c7 Merge branch 'grand-unified-closures' into direct-calls 2016-09-08 10:05:42 -07:00
Craig Tiller 344834b40b Merge github.com:grpc/grpc into grand-unified-closures 2016-09-07 08:39:05 -07:00
Craig Tiller eae090a67a Reinstate RST_STREAM at EOS 2016-09-01 10:16:51 -07:00
Craig Tiller 7ca00497e8 Add a test with multiple threads popping from the mpscq 2016-08-30 21:06:46 -07:00
Craig Tiller 1a636aba7f Expand corpus 2016-08-18 11:28:57 -07:00
Craig Tiller 4239968093 Extend fuzzers (correctly) to deal with permissive/strict encoding 2016-08-18 11:20:44 -07:00
Craig Tiller 016493ed59 Extend fuzzers (correctly) to deal with permissive/strict encoding 2016-08-18 11:15:59 -07:00
Craig Tiller 1c7a84202f Add a strict and a permissive decoder, allow different reserved alphabets 2016-08-18 11:13:11 -07:00
Craig Tiller 17ed6b17c7 Percent encoding routines 2016-08-18 09:33:33 -07:00
Craig Tiller 3e426718f0 Merge github.com:grpc/grpc into grand-unified-closures 2016-07-24 13:00:57 -07:00
Sanjay Ghemawat fca59fb2aa Add gpr_slice_new_with_user_data.
gpr_slice_new_with_user_data is like gpr_slice_new, but allows the
caller to specify a distinct pointer to pass to the destroy function.
This is useful when the data is part of a larger data structure that
should be destroyed when the data is no longer needed.
2016-07-21 09:32:06 -07:00
Craig Tiller f7cade1b4f Rename async_execution_lock --> combiner, make it use closures, unroll previous changes for idleness 2016-07-07 21:41:10 -07:00
Craig Tiller b1793a6780 Merge github.com:grpc/grpc into atm2 2016-07-07 21:02:08 -07:00
Jan Tattermusch c7d7be9ff2 Merge pull request #6958 from ctiller/cpuburn
Reduce cost of some heavyweight tests
2016-06-17 20:36:17 -07:00
Jan Tattermusch b6163dfb4a Merge pull request #6352 from ctiller/error
Unifying error handling within core
2016-06-17 18:50:55 -07:00
Craig Tiller e2715df1ab Reduce cost of some heavyweight tests 2016-06-17 17:37:40 -07:00
Vijay Pai b9e927afcc Merge branch 'master' into wheezy 2016-06-15 22:57:21 -07:00
Craig Tiller 13c0940f66 Merge branch 'idempotent_endpoint_shutdown' into handshake_timeout 2016-06-15 09:41:33 -07:00