[erlang-patches] Patch for hibernate/HiPE bug

Henrik Nord henrik@REDACTED
Mon May 23 12:13:06 CEST 2011


On 05/21/2011 09:25 AM, Kostis Sagonas wrote:
> Paul Guyot wrote:
>> Hello,
>>
>> This commit :
>> https://github.com/erlang/otp/commit/b7ecdcd1ae9e11b8f75e11b82d94da32837932bc 
>>
>> introduced a new flag (F_HIBERNATE_SCHED) that is set when 
>> hibernating and cleared when hibernated process is scheduled out.
>> However, this flag was not cleared when the hibernated process is 
>> scheduled out in hipe_mode_switch. As a result, a process that would 
>> hibernate, wake up and then trap by a BIF would be stuck.
>>
>> The following commit fixes this bug and includes a non-regression test.
>> https://github.com/pguyot/otp/commit/614c92088cb947a8849ab4681458b233d2151f40 
>>
>> git fetch git://github.com/pguyot/otp.git 
>> fix-hibernate-scheduling-with-hipe
>
> Merci Paul,
>
> I hope it's not too late to include this in the upcoming R14B03.
> It would be nice to do so.
>
> Kostis
>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
Hi

This is now cooking in 'pu' but it will not make it to the R14B03 release.

I will try to get it through the testing and into 'dev' as soon as 
possible after the release.

-- 
/Henrik Nord Erlang/OTP




More information about the erlang-patches mailing list