aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_goodfit_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_goodfit_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_goodfit_alloc.c')
-rw-r--r--erts/emulator/beam/erl_goodfit_alloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_goodfit_alloc.c b/erts/emulator/beam/erl_goodfit_alloc.c
index fce443c101..72620a362b 100644
--- a/erts/emulator/beam/erl_goodfit_alloc.c
+++ b/erts/emulator/beam/erl_goodfit_alloc.c
@@ -223,7 +223,9 @@ erts_gfalc_start(GFAllctr_t *gfallctr,
allctr->get_next_mbc_size = NULL;
allctr->creating_mbc = update_last_aux_mbc;
allctr->destroying_mbc = update_last_aux_mbc;
-
+ 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