diff options
author | Sverker Eriksson <[email protected]> | 2015-03-03 19:26:03 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-03-12 19:15:31 +0100 |
commit | 412c30b4dcdb8388b7472c8abb328f2a2fce92c0 (patch) | |
tree | 70325bc1ca23bdd55be031e0e83c4b20aff88f04 /erts/emulator/beam/beam_emu.c | |
parent | 7e859457ef60483f6f99a0506e8abf65abcc06ef (diff) | |
download | otp-412c30b4dcdb8388b7472c8abb328f2a2fce92c0.tar.gz otp-412c30b4dcdb8388b7472c8abb328f2a2fce92c0.tar.bz2 otp-412c30b4dcdb8388b7472c8abb328f2a2fce92c0.zip |
erts: Fix various map vs hamt size bugs
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c index 8288eb9798..15591c3cad 100644 --- a/erts/emulator/beam/beam_emu.c +++ b/erts/emulator/beam/beam_emu.c @@ -6559,7 +6559,7 @@ new_map(Process* p, Eterm* reg, BeamInstr* I) ptr = &Arg(4); - if (n > MAP_SMALL_MAP_LIMIT) { + if (n > 2*MAP_SMALL_MAP_LIMIT) { if (HeapWordsLeft(p) < n) { erts_garbage_collect(p, n, reg, Arg(2)); } |