diff options
author | Rickard Green <[email protected]> | 2016-08-30 12:16:57 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-08-31 11:58:49 +0200 |
commit | 7be8e2309d87dbb6e922cb0ca56f031f9e4ec12b (patch) | |
tree | 6fcaadfe043deb5cb1c4da2cbc1074a654ce52cd /erts/emulator/beam/erl_map.h | |
parent | 1b4a59c405e6bd3532921d5c534e2264bb05b2eb (diff) | |
download | otp-7be8e2309d87dbb6e922cb0ca56f031f9e4ec12b.tar.gz otp-7be8e2309d87dbb6e922cb0ca56f031f9e4ec12b.tar.bz2 otp-7be8e2309d87dbb6e922cb0ca56f031f9e4ec12b.zip |
Avoid selective receive in code-purger process
The code purger process handles vast amounts of messages when
there are lots of processes alive. A single message in the
message queue that does not match will in such cases cause
lots of extra work. The code purger process now always picks
the first message in the message queue, and by this avoid
this extra work.
Diffstat (limited to 'erts/emulator/beam/erl_map.h')
0 files changed, 0 insertions, 0 deletions