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-04 17:08:31 +0100 |
commit | e330a493032c35c0ca69cd78142e2ec03f5e370b (patch) | |
tree | 42c68f822ca23ffd503b5bd4b2044334b5fca2dc /erts/emulator/beam/erl_process_dict.c | |
parent | 14ddc5594d74979a15a256a41fba5f1297aeaa1a (diff) | |
download | otp-e330a493032c35c0ca69cd78142e2ec03f5e370b.tar.gz otp-e330a493032c35c0ca69cd78142e2ec03f5e370b.tar.bz2 otp-e330a493032c35c0ca69cd78142e2ec03f5e370b.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) |