Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
6372-stdlib-Fix-ets_SUITE-write_concurrency-on-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6372-stdlib-Fix-ets_SUITE-write_concurrency-on-32-bit.patch of Package erlang
From c5ca0cc28f400ca5edca70a21ada5e2e567ac038 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Mon, 14 Nov 2022 14:36:08 +0100 Subject: [PATCH 2/2] stdlib: Fix ets_SUITE:write_concurrency on 32-bit with no of schedulers from 2 to 6. --- lib/stdlib/test/ets_SUITE.erl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/stdlib/test/ets_SUITE.erl b/lib/stdlib/test/ets_SUITE.erl index de3e100192..7f63a9903c 100644 --- a/lib/stdlib/test/ets_SUITE.erl +++ b/lib/stdlib/test/ets_SUITE.erl @@ -3164,9 +3164,11 @@ write_concurrency(Config) when is_list(Config) -> true = YesMem > NoTreeMem, %% The memory of ordered_set with write concurrency is - %% smaller than without write concurrency on systems with + %% smaller than without write concurrency on 64-bit systems with %% few schedulers. - if NoSchedulers > 6 -> + Bits = 8*erlang:system_info(wordsize), + if Bits =:= 32; + NoSchedulers > 6 -> true = YesTreeMem >= NoTreeMem; true -> true = YesTreeMem < NoTreeMem -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor