diff options
author | Rickard Green <[email protected]> | 2013-11-05 15:37:49 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-11-05 23:07:26 +0100 |
commit | bb59a8fcf1f6cf4162a2a97c13087843d1b9dac4 (patch) | |
tree | fed80a9fd3ab92468354823bbc12bcf94d133a87 /erts/emulator/beam/erl_alloc.c | |
parent | f17532112c6b723a7b025c7d74565e7ac2588cbb (diff) | |
download | otp-bb59a8fcf1f6cf4162a2a97c13087843d1b9dac4.tar.gz otp-bb59a8fcf1f6cf4162a2a97c13087843d1b9dac4.tar.bz2 otp-bb59a8fcf1f6cf4162a2a97c13087843d1b9dac4.zip |
Add switch for disabling sys_alloc carriers
The switch "+Musac <boolean>" controls if sys_alloc carriers
are allowed.
Diffstat (limited to 'erts/emulator/beam/erl_alloc.c')
-rw-r--r-- | erts/emulator/beam/erl_alloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c index 8e20d58161..fb0f47d1b7 100644 --- a/erts/emulator/beam/erl_alloc.c +++ b/erts/emulator/beam/erl_alloc.c @@ -1670,6 +1670,10 @@ handle_args(int *argc, char **argv, erts_alc_hndl_args_init_t *init) init->alloc_util.mmc = get_amount_value(argv[i]+6, argv, &i); } + else if (has_prefix("sac", argv[i]+3)) { + init->alloc_util.sac + = get_bool_value(argv[i]+6, argv, &i); + } else { int a; int start = i; |