#1230: src/pmc/eval.pmc:  Walk the fixups, locate globals and nullify the Sub 
PMC
---------------------+------------------------------------------------------
 Reporter:  jkeenan  |        Owner:  plobsing
     Type:  bug      |       Status:  closed  
 Priority:  normal   |    Milestone:          
Component:  core     |      Version:  1.7.0   
 Severity:  medium   |   Resolution:  fixed   
 Keywords:           |         Lang:          
    Patch:           |     Platform:          
---------------------+------------------------------------------------------
Changes (by plobsing):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 If the sub still exists as a global, the code backing the sub should
 remain live. Invalidating the sub to avoid a segfault is very, very wrong.

 The current solution is to have subs mark the eval_pmc backing them. This
 is the correct solution, as it exposes the object dependancy to the GC.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1230#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to