#983 RexxLocalVariables::live - only mark if not NULL

4.1.1
closed
none
5
2013-11-22
2011-02-12
No

It may be the case that an exception occurs in rare cases (seen on MacOSX). Rick's suggested fix seems to solve that problem:

void RexxLocalVariables::live(size_t liveMark)
/***********/
/
Function: Normal garbage collection live marking /
/***********
/
{
RexxVariable entry; / marked stack entry
/
RexxVariable
top;

if (locals != NULL)
{
/ loop through the stack entries /
for (entry = locals, top = entry + size; entry < top; entry++)
{
memory_mark(entry); / marking each one */
}
}

memory_mark(dictionary); / also mark any created vdict /
}

Discussion

  • Rick McGuire

    Rick McGuire - 2011-02-14

    Committed revision 6763 (trunk) and 6764 (4.1 branch)

     
  • Mark Miesfeld

    Mark Miesfeld - 2012-07-16

    The fix for this item was in the 4.1.1 or 4.1.0 release.

     
  • Rick McGuire

    Rick McGuire - 2013-11-22
    • Pending work items: --> none
    • Group: Next_Release --> 4.1.1
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks