aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/gpr
Commit message (Collapse)AuthorAge
* clang-formatGravatar Muxi Yan2018-12-10
|
* Add next_value and start_timeGravatar Muxi Yan2018-12-10
|
* clang-formatGravatar Muxi Yan2018-12-04
|
* More debug timers to record root causeGravatar Muxi Yan2018-12-04
|
* Revert "Fix timer manager debug code"Gravatar Muxi Yan2018-11-13
|
* clang-formatGravatar Muxi Yan2018-11-12
|
* Directly calling logging function to prevent dead-strippingGravatar Muxi Yan2018-11-12
|
* Remeve memset(0) from arena allocated memory.Gravatar Soheil Hassas Yeganeh2018-11-05
| | | | | | | Callers are updated to properly initialize the memory. This behavior can be overridden using GRPC_ARENA_INIT_STRATEGY environment variable.
* Use union to make alignement robust.Gravatar Soheil Hassas Yeganeh2018-10-19
| | | | Suggested-by: vjpai@google.com
* 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.
* Polish macro againGravatar Muxi Yan2018-10-02
|
* polish macroGravatar Muxi Yan2018-10-01
|
* polish assertGravatar Muxi Yan2018-10-01
|
* Add alias for macro for internal appGravatar Muxi Yan2018-10-01
|
* Log cv, mu pointers and deadline valuesGravatar Muxi Yan2018-09-28
|
* Remove another cvGravatar Muxi Yan2018-09-27
|
* Wrap everything with macroGravatar Muxi Yan2018-09-27
|
* Core infrastructure for timer manager debugGravatar Muxi Yan2018-09-27
|
* Remove unnecessary atmGravatar Juanli Shen2018-08-21
|
* Simplify call arena size growthGravatar Juanli Shen2018-08-17
|
* Replace atomics in gpr_arena_aloc with a mutex in the slow pathGravatar Hope Casey-Allen2018-07-23
|
* Reviewer feedbackGravatar ncteisen2018-07-12
|
* Implements subchannel refs for pick_firstGravatar ncteisen2018-07-11
|
* Avoid duplicate definitions of ROUND_UP_TO_ALIGNMENT_SIZE() macro.Gravatar Mark D. Roth2018-06-27
|
* Merge remote-tracking branch 'upstream/master' into fork_exec_ctx_checkGravatar kpayson642018-05-11
|\
* | c++ifyGravatar kpayson642018-04-30
| |
* | Add exec_ctx check to fork handlersGravatar kpayson642018-04-30
| |
| * Avoid low severity log message constructionGravatar Ara Ayvazyan2018-04-04
| |
| * Add checking for hotplugged CPUs in gpr_cpu_current_cpu for linuxGravatar Yash Tibrewal2018-03-14
| |
| * Stop including inttypes.h in gRPC core public header in Apple platformsGravatar Muxi Yan2018-03-12
|/
* Merge pull request #14532 from ncteisen/cpuGravatar Vijay Pai2018-03-05
|\ | | | | Remain consistent with #14493
* \ Merge branch 'master' into 2phase_thdGravatar Vijay Pai2018-03-01
|\ \
| * | Retry support.Gravatar Mark D. Roth2018-02-28
| | |
| | * Remain consitant with #14493Gravatar ncteisen2018-02-26
| |/
* | Merge branch 'master' into 2phase_thdGravatar Vijay Pai2018-02-26
|\|
| * Merge pull request #14493 from nnorwitz/patch-1Gravatar Noah Eisen2018-02-26
| |\ | | | | | | Use the total # of processors instead of # online.
* | | Merge branch 'master' into 2phase_thdGravatar Vijay Pai2018-02-24
|\| |
| * | Add a sanity check for inclusion of port_platform.hGravatar Alexander Polcyn2018-02-23
| | |
| | * Use the total # of processors instead of # online.Gravatar nnorwitz2018-02-22
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the total number of processors in the system since the number online can change from time to time. When running this on a Jetson TX-2 which can bring processors online and offline and running a program under valgrind, these errors are reported: ==4895== Invalid read of size 8 ==4895== at 0x13BA8BC: grpc_completion_queue_create_internal(grpc_cq_completion_type, grpc_cq_polling_type) (completion_queue.cc:440) ==4895== by 0x13B9B53: grpc_completion_queue_create (completion_queue_factory.cc:76) ==4895== by 0x1203993: CompletionQueue (completion_queue.h:240) ==4895== by 0x1203993: ServerCompletionQueue (completion_queue.h:378) ==4895== by 0x1203993: grpc::ServerBuilder::BuildAndStart() (server_builder.cc:258) ==4895== Address 0x269c9490 is 16 bytes after a block of size 29,952 alloc'd ==4895== at 0x7900C3C: calloc (vg_replace_malloc.c:711) ==4895== by 0x13E50DB: gpr_zalloc (alloc.cc:67) ==4895== by 0x13CB1D3: grpc_stats_init() (stats.cc:36) ==4895== by 0x1374C07: grpc_init (init.cc:127) ==4895== by 0x1203947: GrpcLibraryCodegen (grpc_library.h:45) ==4895== by 0x1203947: CompletionQueue (completion_queue.h:236) ==4895== by 0x1203947: ServerCompletionQueue (completion_queue.h:378) ==4895== by 0x1203947: grpc::ServerBuilder::BuildAndStart() (server_builder.cc:258) ==4895== ==4895== Invalid write of size 8 ==4895== at 0x13BA8C4: grpc_completion_queue_create_internal(grpc_cq_completion_type, grpc_cq_polling_type) (completion_queue.cc:440) ==4895== by 0x13B9B53: grpc_completion_queue_create (completion_queue_factory.cc:76) ==4895== by 0x1203993: CompletionQueue (completion_queue.h:240) ==4895== by 0x1203993: ServerCompletionQueue (completion_queue.h:378) ==4895== by 0x1203993: grpc::ServerBuilder::BuildAndStart() (server_builder.cc:258) ==4895== Address 0x269c9490 is 16 bytes after a block of size 29,952 alloc'd ==4895== at 0x7900C3C: calloc (vg_replace_malloc.c:711) ==4895== by 0x13E50DB: gpr_zalloc (alloc.cc:67) ==4895== by 0x13CB1D3: grpc_stats_init() (stats.cc:36) ==4895== by 0x1374C07: grpc_init (init.cc:127) ==4895== by 0x1203947: GrpcLibraryCodegen (grpc_library.h:45) ==4895== by 0x1203947: CompletionQueue (completion_queue.h:236) ==4895== by 0x1203947: ServerCompletionQueue (completion_queue.h:378) ==4895== by 0x1203947: grpc::ServerBuilder::BuildAndStart() (server_builder.cc:258) After this change, the errors are gone. We also had many crashes on startup that was likely caused by this problem. The Jetson has a user-level program that allows a user to changes CPUs to online or offline. So using the max # possible should reduce potentials for errors like these and at worse over-allocate just a few extra bytes.
* | Merge branch 'master' into 2phase_thdGravatar Vijay Pai2018-02-21
|\|
* | C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)Gravatar Vijay Pai2018-02-19
| |
| * Merge pull request #14401 from maxim-babenko/masterGravatar Noah Eisen2018-02-16
| |\ | | | | | | Always fill "empty" on return from gpr_mpscq_pop_and_check_end
* | | Remove support for detached threads. All threads must be joined.Gravatar Vijay Pai2018-02-15
|/ /
* | Internalize gpr_thd except for id and currentidGravatar Vijay Pai2018-02-12
| |
* | Manually fix build issueGravatar Noah Eisen2018-02-09
| |
* | Run clang fmtGravatar Noah Eisen2018-02-09
| |
* | Autofix c casts to c++ castsGravatar Noah Eisen2018-02-09
| |
* | Merge branch 'master' into gpr_reviewGravatar Vijay Pai2018-02-08
|\ \
| * \ Merge pull request #14196 from vjpai/gpr_review_tlsGravatar Vijay Pai2018-02-08
| |\ \ | | | | | | | | GPR review: Privatize thread-local storage headers
* | | | Merge branch 'master' into gpr_reviewGravatar Vijay Pai2018-02-08
|\| | |