[perl #46703] [TODO] [C] Fix ref_count handling for exception_handlers

Christoph Otto via RT parrotbug-followup at parrotcode.org
Mon Apr 20 19:30:06 UTC 2009


On Mon Apr 20 04:19:36 2009, bacek wrote:
> On Mon Feb 02 08:19:30 2009, Whiteknight wrote:
> > On Mon Oct 22 10:48:56 2007, pcoch wrote:
> > > In src/pmc/exception_handler.pmc there is the todo item:
> 
> > aren't exception_handlers PMCs? If so, they wouldn't have a ref count,
> > they would be GC'd and not collected prematurely. Is this ticket still
> > an issue?
> 
> +1 for rejecting ticket.
> 

Removing ExceptionHandler's destroy VTABLE function causes no test
failures, so it looks like the comment no longer applies.  The attached
patch takes care of this, but probably shouldn't be applied until after
the 1.1 release tomorrow.  Once that's done, this ticket can be resolved.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eh_remove_destroy.patch
Type: text/x-diff
Size: 1221 bytes
Desc: not available
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20090420/2479beb0/attachment.bin>


More information about the parrot-dev mailing list