aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-04-29 16:44:39 +0200
committerSverker Eriksson <[email protected]>2016-04-29 17:06:29 +0200
commit48d24da6586a80ab67fe5c242d17ea4d044c917c (patch)
treeace63eca58544379c8e9a4b3cfaf32b100ce8554 /erts/emulator
parent0a5d8f3ae45bd8a10498ef35c1e704983afbbf25 (diff)
downloadotp-48d24da6586a80ab67fe5c242d17ea4d044c917c.tar.gz
otp-48d24da6586a80ab67fe5c242d17ea4d044c917c.tar.bz2
otp-48d24da6586a80ab67fe5c242d17ea4d044c917c.zip
erts: Add erts_mmap to system_info(allocator)
to the Settings list {Allocator, Version, Features, Settings}
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_alloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c
index 64a323c434..0f68c6bb10 100644
--- a/erts/emulator/beam/erl_alloc.c
+++ b/erts/emulator/beam/erl_alloc.c
@@ -2963,6 +2963,10 @@ erts_allocator_options(void *proc)
atoms[length] = am_atom_put("alloc_util", 10);
terms[length++] = erts_alcu_au_info_options(NULL, NULL, hpp, szp);
+
+ atoms[length] = ERTS_MAKE_AM("erts_mmap");
+ terms[length++] = erts_mmap_info_options(&erts_dflt_mmapper, NULL, NULL,
+ NULL, hpp, szp);
{
Eterm o[3], v[3];
o[0] = am_atom_put("m", 1);