diff options
author | Sverker Eriksson <[email protected]> | 2016-06-01 16:19:04 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-06-01 19:41:29 +0200 |
commit | f4bdac18cb9dd45185e911308a5ebd95ff10d7fd (patch) | |
tree | ac77d8cd5da21355173457acfab334b300c270d6 /erts/emulator/beam/erl_db_hash.h | |
parent | 7c133fb1094ad1cabbb5cfc157483a43c816c6a9 (diff) | |
download | otp-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.h | 2 |
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 |