[erlang-patches] [erlang-bugs] Use a set to store ref registers in beam_receive

Björn Gustavsson bgustavsson@REDACTED
Wed Apr 10 12:19:17 CEST 2013


On Wed, Apr 10, 2013 at 12:19 AM, Anthony Ramine <n.oxyde@REDACTED> wrote:

>
> This patch teaches beam_receive how to use a set of registers instead of a
> single one when tracking fresh references, thus avoiding the crash.
>
>         git fetch https://github.com/nox/otp.git fix-multiple-ref-regs
>
>
> https://github.com/nox/otp/compare/erlang:maint...fix-multiple-ref-regs
>
> https://github.com/nox/otp/compare/erlang:maint...fix-multiple-ref-regs.patch
>
>
Could you write a test case?

A copy of the receive_SUITE will be compiled with the inline option.
If the inlining is not aggressive enough to provoke the bug, you can
add the test case to inline_SUITE.

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130410/d711921d/attachment.htm>


More information about the erlang-patches mailing list