diff options
author | Björn Gustavsson <[email protected]> | 2015-03-24 15:06:25 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-04-13 12:37:55 +0200 |
commit | 47e1ed4c0681a73c9d6bc8d24ece85dd77957034 (patch) | |
tree | 03223cf0215a2012bf803ef8b28264fd394016f9 /erts/emulator/test/timer_bif_SUITE.erl | |
parent | c8893f9aaf6ff585c44259aad21914ccbe904783 (diff) | |
download | otp-47e1ed4c0681a73c9d6bc8d24ece85dd77957034.tar.gz otp-47e1ed4c0681a73c9d6bc8d24ece85dd77957034.tar.bz2 otp-47e1ed4c0681a73c9d6bc8d24ece85dd77957034.zip |
beam_emu: Slightly optimize update_map_{assoc,exact}
In the update loop for big maps, the E variable is restored for
each turn of the loop. It only needs to be restored if a garbage
collection has been performed.
Also add a new test case that attempts to force several garbage
collections while updating a map, to help us find bugs with
incorrect restoration of the E variable after a garbage collection.
Diffstat (limited to 'erts/emulator/test/timer_bif_SUITE.erl')
0 files changed, 0 insertions, 0 deletions