version 1.1, 2002/07/24 08:00:16 |
version 1.2, 2003/06/24 05:11:38 |
Line 248 The <TT>hb_last_reclaimed</tt> field will identify the |
|
Line 248 The <TT>hb_last_reclaimed</tt> field will identify the |
|
during which its block was last swept. |
during which its block was last swept. |
<LI> Verify that the offending object still has its correct contents at |
<LI> Verify that the offending object still has its correct contents at |
this point. |
this point. |
The call <TT>GC_is_marked(p)</tt> from the debugger to verify that the |
Then call <TT>GC_is_marked(p)</tt> from the debugger to verify that the |
object has not been marked, and is about to be reclaimed. |
object has not been marked, and is about to be reclaimed. Note that |
|
<TT>GC_is_marked(p)</tt> expects the real address of an object (the |
|
address of the debug header if there is one), and thus it may |
|
be more appropriate to call <TT>GC_is_marked(GC_base(p))</tt> |
|
instead. |
<LI> Determine a path from a root, i.e. static variable, stack, or |
<LI> Determine a path from a root, i.e. static variable, stack, or |
register variable, |
register variable, |
to the reclaimed object. Call <TT>GC_is_marked(q)</tt> for each object |
to the reclaimed object. Call <TT>GC_is_marked(q)</tt> for each object |