diff options
author | Sverker Eriksson <[email protected]> | 2016-02-22 18:18:15 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-02-23 12:15:39 +0100 |
commit | 8e2a21f1df1140867d0b074ec7a86610d1e1b51e (patch) | |
tree | dc3edd24e9233f0b9c5b110f2e8bb6cc27141427 /erts/emulator/beam/erl_alloc.c | |
parent | abe5967c1964a4ca93f321c6cd564c8650f11a53 (diff) | |
download | otp-8e2a21f1df1140867d0b074ec7a86610d1e1b51e.tar.gz otp-8e2a21f1df1140867d0b074ec7a86610d1e1b51e.tar.bz2 otp-8e2a21f1df1140867d0b074ec7a86610d1e1b51e.zip |
erts: Add emulator flag +MIscs for literal super carrier size
Diffstat (limited to 'erts/emulator/beam/erl_alloc.c')
-rw-r--r-- | erts/emulator/beam/erl_alloc.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c index 7c880342bd..a266ea6d19 100644 --- a/erts/emulator/beam/erl_alloc.c +++ b/erts/emulator/beam/erl_alloc.c @@ -1489,8 +1489,15 @@ handle_args(int *argc, char **argv, erts_alc_hndl_args_init_t *init) case 'B': handle_au_arg(&init->binary_alloc, &argv[i][3], argv, &i, 0); break; - case 'I': - handle_au_arg(&init->literal_alloc, &argv[i][3], argv, &i, 0); + case 'I': + if (has_prefix("scs", argv[i]+3)) { +#if HAVE_ERTS_MSEG + init->mseg.literal_mmap.scs = +#endif + get_mb_value(argv[i]+6, argv, &i); + } + else + handle_au_arg(&init->literal_alloc, &argv[i][3], argv, &i, 0); break; case 'D': handle_au_arg(&init->std_alloc, &argv[i][3], argv, &i, 0); |