diff options
author | Rick Reed <[email protected]> | 2012-03-16 11:20:03 -0700 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-04-04 22:28:04 +0200 |
commit | fbd09660fe4bd57632ec481a60106cf79ea93bcd (patch) | |
tree | f054bc95b3deaf278701d418b9b3292ebe5b7eea /erts | |
parent | cfea5eea406ba3af96588ff458e55de9a149d9c5 (diff) | |
download | otp-fbd09660fe4bd57632ec481a60106cf79ea93bcd.tar.gz otp-fbd09660fe4bd57632ec481a60106cf79ea93bcd.tar.bz2 otp-fbd09660fe4bd57632ec481a60106cf79ea93bcd.zip |
Increase ethr event and lock counting constants to allow at least +A 1024.
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/erl_lock_count.c | 2 | ||||
-rw-r--r-- | erts/lib_src/common/ethr_aux.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_lock_count.c b/erts/emulator/beam/erl_lock_count.c index a36c53560e..5518531bcd 100644 --- a/erts/emulator/beam/erl_lock_count.c +++ b/erts/emulator/beam/erl_lock_count.c @@ -49,7 +49,7 @@ const char *str_undefined = "undefined"; static ethr_tsd_key lcnt_thr_data_key; static int lcnt_n_thr; -static erts_lcnt_thread_data_t *lcnt_thread_data[1024]; +static erts_lcnt_thread_data_t *lcnt_thread_data[4096]; /* local functions */ diff --git a/erts/lib_src/common/ethr_aux.c b/erts/lib_src/common/ethr_aux.c index 521640317e..89149b716b 100644 --- a/erts/lib_src/common/ethr_aux.c +++ b/erts/lib_src/common/ethr_aux.c @@ -40,7 +40,7 @@ #include <unistd.h> #endif -#define ERTS_TS_EV_ALLOC_DEFAULT_POOL_SIZE 100 +#define ERTS_TS_EV_ALLOC_DEFAULT_POOL_SIZE 4000 #define ERTS_TS_EV_ALLOC_POOL_SIZE 25 erts_cpu_info_t *ethr_cpu_info__; |