1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Make fiber_pool more conservative on platforms with limited address space.

We use COROUTINE_LIMITED_ADDRESS_SPACE to select platforms where address
space is 32-bits or less. Fiber pool implementation enables more book
keeping, and reduces upper limits, in order to minimise address space
utilisation.
This commit is contained in:
Samuel Williams 2019-07-16 16:11:55 +12:00
parent 385ea910fc
commit 001f187ed6
No known key found for this signature in database
GPG key ID: A0765423A44728FB
6 changed files with 23 additions and 12 deletions

View file

@ -11,6 +11,7 @@
#include <string.h>
#define COROUTINE __attribute__((noreturn, fastcall)) void
#define COROUTINE_LIMITED_ADDRESS_SPACE
enum {COROUTINE_REGISTERS = 4};