aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_afit_alloc.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-05-17 14:47:08 +0200
committerSverker Eriksson <[email protected]>2013-06-03 14:24:24 +0200
commite5bbae8ae46bb11ab1c4f1a5e4e671d7a888ad84 (patch)
tree51a57d316842a93edaad9c4c01790857c7ca8828 /erts/emulator/beam/erl_afit_alloc.c
parentc6a4999a5e6692f35cf384b854595db6302039b9 (diff)
downloadotp-e5bbae8ae46bb11ab1c4f1a5e4e671d7a888ad84.tar.gz
otp-e5bbae8ae46bb11ab1c4f1a5e4e671d7a888ad84.tar.bz2
otp-e5bbae8ae46bb11ab1c4f1a5e4e671d7a888ad84.zip
erts: Change naive list to rb-tree of carriers in AOFF allocator
and add new callbacks add_mbc(), remove_mbc() and largest_fblk_in_mbc() for carrier migration.
Diffstat (limited to 'erts/emulator/beam/erl_afit_alloc.c')
-rw-r--r--erts/emulator/beam/erl_afit_alloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_afit_alloc.c b/erts/emulator/beam/erl_afit_alloc.c
index d03d6a591c..608a4dd26d 100644
--- a/erts/emulator/beam/erl_afit_alloc.c
+++ b/erts/emulator/beam/erl_afit_alloc.c
@@ -101,6 +101,9 @@ erts_afalc_start(AFAllctr_t *afallctr,
allctr->get_next_mbc_size = NULL;
allctr->creating_mbc = NULL;
allctr->destroying_mbc = NULL;
+ allctr->add_mbc = NULL;
+ allctr->remove_mbc = NULL;
+ allctr->largest_fblk_in_mbc = NULL;
allctr->init_atoms = init_atoms;
#ifdef ERTS_ALLOC_UTIL_HARD_DEBUG