aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools/src/erts_alloc_config.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-01-26 18:42:32 +0100
committerSverker Eriksson <[email protected]>2018-02-12 13:23:15 +0100
commitdefd43985282606e841e2bcb29ad7414080d5a80 (patch)
treea84272181bf03e943c51efa9791ecdf39ea9b5b7 /lib/runtime_tools/src/erts_alloc_config.erl
parent3d8612cd57efd1e96601c5ef9cc986676b76fbf3 (diff)
downloadotp-defd43985282606e841e2bcb29ad7414080d5a80.tar.gz
otp-defd43985282606e841e2bcb29ad7414080d5a80.tar.bz2
otp-defd43985282606e841e2bcb29ad7414080d5a80.zip
erts: Add age order first fit allocator strategies
ageffcaoff: Age First Fit Carrier, Address Order First Fit (within carrier) ageffcbf : Age First Fit Carrier, Best Fit (within carrier) ageffcaobf: Age First Fit Carrier, Address Order Best Fit (within carrier) Prefer old carriers, the older the better.
Diffstat (limited to 'lib/runtime_tools/src/erts_alloc_config.erl')
-rw-r--r--lib/runtime_tools/src/erts_alloc_config.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/runtime_tools/src/erts_alloc_config.erl b/lib/runtime_tools/src/erts_alloc_config.erl
index 514530332c..4b028681a0 100644
--- a/lib/runtime_tools/src/erts_alloc_config.erl
+++ b/lib/runtime_tools/src/erts_alloc_config.erl
@@ -265,7 +265,13 @@ strategy_str(aoff) ->
strategy_str(aoffcbf) ->
"Address order first fit carrier best fit";
strategy_str(aoffcaobf) ->
- "Address order first fit carrier adress order best fit".
+ "Address order first fit carrier adress order best fit";
+strategy_str(ageffcaoff) ->
+ "Age order first fit carrier address order first fit";
+strategy_str(ageffcbf) ->
+ "Age order first fit carrier best fit";
+strategy_str(ageffcaobf) ->
+ "Age order first fit carrier adress order best fit".
default_acul(A, S) ->
case carrier_migration_support(S) of