diff options
author | Sverker Eriksson <[email protected]> | 2016-06-01 16:19:04 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-09-19 15:48:56 +0200 |
commit | ff7eb12d002afbffacae5429bd9bb0819aa2d146 (patch) | |
tree | 6f6e57ce751c11855bfdcad52ce43bb66c336b38 /erts/emulator/beam/erl_db_hash.h | |
parent | f1ffa5e90e5eecaac890e876760932d1bb1d9c86 (diff) | |
download | otp-ff7eb12d002afbffacae5429bd9bb0819aa2d146.tar.gz otp-ff7eb12d002afbffacae5429bd9bb0819aa2d146.tar.bz2 otp-ff7eb12d002afbffacae5429bd9bb0819aa2d146.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 |