aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-10-15 20:10:46 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-12-07 19:34:39 +0100
commit2ae91c3ade0538500ff4dbda29ad539e595f64df (patch)
tree5d3e77bfd2c97b6391710b1030c766fedde0d3ca /erts/emulator/test
parente656b6e26de27db6a4235961f7e667998d3a2832 (diff)
downloadotp-2ae91c3ade0538500ff4dbda29ad539e595f64df.tar.gz
otp-2ae91c3ade0538500ff4dbda29ad539e595f64df.tar.bz2
otp-2ae91c3ade0538500ff4dbda29ad539e595f64df.zip
erts: Change erts_internal:map_type/1 into term_type/1
to support other terms, not just maps
Diffstat (limited to 'erts/emulator/test')
-rw-r--r--erts/emulator/test/map_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/map_SUITE.erl b/erts/emulator/test/map_SUITE.erl
index 6890c42b7a..bde0d408f3 100644
--- a/erts/emulator/test/map_SUITE.erl
+++ b/erts/emulator/test/map_SUITE.erl
@@ -2598,7 +2598,7 @@ hashmap_balance(KeyFun) ->
F = fun(I, {M0,Max0}) ->
Key = KeyFun(I),
M1 = M0#{Key => Key},
- Max1 = case erts_internal:map_type(M1) of
+ Max1 = case erts_internal:term_type(M1) of
hashmap ->
Nodes = hashmap_nodes(M1),
Avg = maps:size(M1) * 0.4,
@@ -3004,7 +3004,7 @@ t_gc_rare_map_overflow(Config) ->
Loop()
end),
FatMap = fatmap(34),
- false = (flatmap =:= erts_internal:map_type(FatMap)),
+ false = (flatmap =:= erts_internal:term_type(FatMap)),
t_gc_rare_map_overflow_do(Echo, FatMap, fun() -> erlang:garbage_collect() end),