aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/common/erlexec.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-02-17 21:17:38 +0100
committerSverker Eriksson <[email protected]>2016-02-23 12:13:42 +0100
commitdb241c69cef8774b9b7afa7e0f0f8dbdcf528a07 (patch)
tree09b7b14ca524ea3fe14573f209ee222fb2b51820 /erts/etc/common/erlexec.c
parent8dbd8cb1fd7fe2fbe9f29fd5acf314f4cfe70895 (diff)
downloadotp-db241c69cef8774b9b7afa7e0f0f8dbdcf528a07.tar.gz
otp-db241c69cef8774b9b7afa7e0f0f8dbdcf528a07.tar.bz2
otp-db241c69cef8774b9b7afa7e0f0f8dbdcf528a07.zip
erts: Make literal_alloc documented and configurable
Except it cannot be disabled and cannot be multi-threaded. The bit-vector 'erts_literal_vspace_map' on 32-bit is currently only protected by the literal allocator mutex. We could allow multiple instances on 64-bit (I think), but what would be the point?
Diffstat (limited to 'erts/etc/common/erlexec.c')
-rw-r--r--erts/etc/common/erlexec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/etc/common/erlexec.c b/erts/etc/common/erlexec.c
index f21671e837..91204fda5c 100644
--- a/erts/etc/common/erlexec.c
+++ b/erts/etc/common/erlexec.c
@@ -65,6 +65,7 @@
static const char plusM_au_allocs[]= {
'u', /* all alloc_util allocators */
'B', /* binary_alloc */
+ 'I', /* literal_alloc */
'D', /* std_alloc */
'E', /* ets_alloc */
'F', /* fix_alloc */