diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-03-04 17:08:31 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-03-25 10:23:00 +0100 |
commit | c7a07bf984739bcc679d800e5383c01e1d07ffa5 (patch) | |
tree | 5eff0911ca1a2155e0624344a06c589c110509f2 /erts/emulator/beam/erl_process_dict.c | |
parent | 3d184db38d2389c463dd3ad88c34992f8427f30d (diff) | |
download | otp-c7a07bf984739bcc679d800e5383c01e1d07ffa5.tar.gz otp-c7a07bf984739bcc679d800e5383c01e1d07ffa5.tar.bz2 otp-c7a07bf984739bcc679d800e5383c01e1d07ffa5.zip |
erts: Enable command line argument for initial pd size
Use '+hpds size' to set initial process dictionary size for spawned processes.
Diffstat (limited to 'erts/emulator/beam/erl_process_dict.c')
-rw-r--r-- | erts/emulator/beam/erl_process_dict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process_dict.c b/erts/emulator/beam/erl_process_dict.c index 23e5bf737f..af20b26b15 100644 --- a/erts/emulator/beam/erl_process_dict.c +++ b/erts/emulator/beam/erl_process_dict.c @@ -47,7 +47,7 @@ /* Hash constant macros */ #define MAX_HASH 1342177280UL -#define INITIAL_SIZE 10 +#define INITIAL_SIZE (erts_pd_initial_size) /* Hash utility macros */ #define HASH_RANGE(PDict) ((PDict)->homeSize + (PDict)->splitPosition) |