aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/driver_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-06-18 17:56:58 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-06-24 17:37:14 +0200
commita5c3feee7bfa77eb385334272505ed562c7ef0f9 (patch)
tree46357896b61c0ae943391d7de8bcc33f0836d025 /erts/emulator/test/driver_SUITE.erl
parent0cec9781bc01c7e51ecfcb2fc4f356f2cc59b03c (diff)
downloadotp-a5c3feee7bfa77eb385334272505ed562c7ef0f9.tar.gz
otp-a5c3feee7bfa77eb385334272505ed562c7ef0f9.tar.bz2
otp-a5c3feee7bfa77eb385334272505ed562c7ef0f9.zip
erts: Remove halfword specific tests
Diffstat (limited to 'erts/emulator/test/driver_SUITE.erl')
-rw-r--r--erts/emulator/test/driver_SUITE.erl12
1 files changed, 1 insertions, 11 deletions
diff --git a/erts/emulator/test/driver_SUITE.erl b/erts/emulator/test/driver_SUITE.erl
index 4211c49848..b72d6cbe52 100644
--- a/erts/emulator/test/driver_SUITE.erl
+++ b/erts/emulator/test/driver_SUITE.erl
@@ -1877,10 +1877,7 @@ mseg_alloc_cached_segments() ->
mseg_alloc_cached_segments(mseg_inst_info(0)).
mseg_alloc_cached_segments(MsegAllocInfo) ->
- MemName = case is_halfword_vm() of
- true -> "high memory";
- false -> "all memory"
- end,
+ MemName = "all memory",
?line [{memkind,DrvMem}]
= lists:filter(fun(E) -> case E of
{memkind, [{name, MemName} | _]} -> true;
@@ -1899,13 +1896,6 @@ mseg_inst_info(I) ->
erlang:system_info({allocator,mseg_alloc})),
Value.
-is_halfword_vm() ->
- case {erlang:system_info({wordsize, internal}),
- erlang:system_info({wordsize, external})} of
- {4, 8} -> true;
- {WS, WS} -> false
- end.
-
driver_alloc_sbct() ->
{_, _, _, As} = erlang:system_info(allocator),
case lists:keysearch(driver_alloc, 1, As) of