aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db_hash.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-06-01 16:19:04 +0200
committerSverker Eriksson <[email protected]>2016-06-01 19:41:29 +0200
commitf4bdac18cb9dd45185e911308a5ebd95ff10d7fd (patch)
treeac77d8cd5da21355173457acfab334b300c270d6 /erts/emulator/beam/erl_db_hash.h
parent7c133fb1094ad1cabbb5cfc157483a43c816c6a9 (diff)
downloadotp-f4bdac18cb9dd45185e911308a5ebd95ff10d7fd.tar.gz
otp-f4bdac18cb9dd45185e911308a5ebd95ff10d7fd.tar.bz2
otp-f4bdac18cb9dd45185e911308a5ebd95ff10d7fd.zip
erts: Remove unnecessary access of 'is_resizing'
in tables without write_concurrency and remove it totally #ifndef ERTS_SMP
Diffstat (limited to 'erts/emulator/beam/erl_db_hash.h')
-rw-r--r--erts/emulator/beam/erl_db_hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_db_hash.h b/erts/emulator/beam/erl_db_hash.h
index e654363cd5..081ff8fafc 100644
--- a/erts/emulator/beam/erl_db_hash.h
+++ b/erts/emulator/beam/erl_db_hash.h
@@ -60,8 +60,8 @@ typedef struct db_table_hash {
/* List of slots where elements have been deleted while table was fixed */
erts_smp_atomic_t fixdel; /* (FixedDeletion*) */
erts_smp_atomic_t nactive; /* Number of "active" slots */
- erts_smp_atomic_t is_resizing; /* grow/shrink in progress */
#ifdef ERTS_SMP
+ erts_smp_atomic_t is_resizing; /* grow/shrink in progress */
DbTableHashFineLocks* locks;
#endif
#ifdef VALGRIND