Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-11 | Optimize selective receives in the presence of a large message queue | Björn Gustavsson | |
If a gen_server process has many messages in its message queue and calls another gen_server process, the selective receive in gen_server:call() will have to go through the entire message queue. Have the compiler generate the new mark_recv/1 and mark_recv/1 instructions that can avoid going through the entire message queue. |