aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/dtrace-wrapper.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-11-13 18:12:32 +0100
committerSverker Eriksson <[email protected]>2015-11-27 19:28:37 +0100
commit4b4c3d525a06309b7e23c7c3ccf7a358bd0f33f3 (patch)
tree1ef9971987e1988b4e7f1f7d0771464745f8eb4d /erts/emulator/beam/dtrace-wrapper.h
parent99e6213c0f0cebaa01f8310b6950a814cf4b21ee (diff)
downloadotp-4b4c3d525a06309b7e23c7c3ccf7a358bd0f33f3.tar.gz
otp-4b4c3d525a06309b7e23c7c3ccf7a358bd0f33f3.tar.bz2
otp-4b4c3d525a06309b7e23c7c3ccf7a358bd0f33f3.zip
erts: Redesign grow/shrink thresholds of hash.c
1. Use load factor as indicator, not used buckets. Used buckets is a bad indicator as it makes the situation even worse with a bad hash function. Set grow_threshold to load factor of 160% as it roughly corresponds to the old 80% used bucket limit. 2. Never shrink table below initial size.
Diffstat (limited to 'erts/emulator/beam/dtrace-wrapper.h')
0 files changed, 0 insertions, 0 deletions