On Wed, Oct 26, 2011 at 3:45 AM, Jean-Louis Faucher <[email protected]> wrote: > I had a crash during GC that I was able to fix by marking the attribute > objectVariables (RexxContextualSource). > RexxActivation::run : Seems that when a method is guarded, then the > attribute objectVariables is assigned a value, and this value must be > protected from GC. > Most of the exported classes do this marking, except : > Pointer > Buffer > WeakReference > RexxContext > StackFrame > Exception > > So I wonder which is the rule to decide if objectVariables must be marked ? > All the classes above have guarded methods, so the same problem as mine > could happen, no ?
Yes, you are absolutely right, all exported classes should be marking the object variables. For the ones you highlighted above, this could only become an issue if somebody created a subclass of these classes. Since they are not widely used, this apparently has never happened. StackFrame and Exception have never been in a released version, but the Exception class is definitely intended to be something one would subclass. Rick > > Jean-Louis > > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Cisco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Oorexx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > > ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
