diff options
author | Sverker Eriksson <[email protected]> | 2018-02-12 13:33:29 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-02-12 13:33:29 +0100 |
commit | 7d390f2dd10f7a746a45a8c5b82af55f86e41f52 (patch) | |
tree | 85abb79ad1b6754f504e60debfdecd057b9afd20 /erts/preloaded | |
parent | cd9b6371a13c37f8f82586fcd82f212d306d8fad (diff) | |
parent | 06e88d07a4719a0e15b4e666b16347fad463cee6 (diff) | |
download | otp-7d390f2dd10f7a746a45a8c5b82af55f86e41f52.tar.gz otp-7d390f2dd10f7a746a45a8c5b82af55f86e41f52.tar.bz2 otp-7d390f2dd10f7a746a45a8c5b82af55f86e41f52.zip |
Merge 'sverker/maint-20/alloc-n-migration/ERIERL-88'
into 'sverker/master/alloc-n-migration/ERIERL-88'
Diffstat (limited to 'erts/preloaded')
-rw-r--r-- | erts/preloaded/ebin/erlang.beam | bin | 103008 -> 102992 bytes | |||
-rw-r--r-- | erts/preloaded/src/erlang.erl | 9 |
2 files changed, 6 insertions, 3 deletions
diff --git a/erts/preloaded/ebin/erlang.beam b/erts/preloaded/ebin/erlang.beam Binary files differindex f0da8b5869..cf4b5c56ea 100644 --- a/erts/preloaded/ebin/erlang.beam +++ b/erts/preloaded/ebin/erlang.beam diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl index 278a485a01..d352e11751 100644 --- a/erts/preloaded/src/erlang.erl +++ b/erts/preloaded/src/erlang.erl @@ -2403,6 +2403,10 @@ subtract(_,_) -> OldDirtyCPUSchedulersOnline when DirtyCPUSchedulersOnline :: pos_integer(), OldDirtyCPUSchedulersOnline :: pos_integer(); + (erts_alloc, {Alloc, F, V}) -> ok | notsup when + Alloc :: atom(), + F :: atom(), + V :: integer(); (fullsweep_after, Number) -> OldNumber when Number :: non_neg_integer(), OldNumber :: non_neg_integer(); @@ -3730,15 +3734,14 @@ memory_is_supported() -> get_blocks_size([{blocks_size, Sz, _, _} | Rest], Acc) -> get_blocks_size(Rest, Acc+Sz); -get_blocks_size([{_, _, _, _} | Rest], Acc) -> - get_blocks_size(Rest, Acc); get_blocks_size([{blocks_size, Sz} | Rest], Acc) -> get_blocks_size(Rest, Acc+Sz); -get_blocks_size([{_, _} | Rest], Acc) -> +get_blocks_size([_ | Rest], Acc) -> get_blocks_size(Rest, Acc); get_blocks_size([], Acc) -> Acc. + blocks_size([{Carriers, SizeList} | Rest], Acc) when Carriers == mbcs; Carriers == mbcs_pool; Carriers == sbcs -> |