[Etoys-notify] #7147 NORM Never A: Playfield remove all broken

Zarro Boogs per Child bugtracker at laptop.org
Sun Jun 1 01:01:36 EDT 2008


#7147: Playfield remove all broken
-----------------------------+----------------------------------------------
  Reporter:  karl            |       Owner:  etoys         
      Type:  defect          |      Status:  new           
  Priority:  normal          |   Milestone:  Never Assigned
 Component:  etoys-activity  |     Version:  Update.1      
Resolution:                  |    Keywords:                
  Verified:  0               |    Blocking:                
 Blockedby:                  |  
-----------------------------+----------------------------------------------

Comment(by ScottWallace):

 This is (I believe) not a bug in remove-all, but rather:

 (1)  A garbage collection phenomenon (the added-then-removed players are
 in fact *not* held on to by anything, and *do* disappear once a garbage-
 collect is done, e.g. at project-save time (thus, for example, the project
 attached to this TRAC report, when loaded into a fresh image, does *not*
 have multiple copies of the Star)).

 (2)  A minor reporting issue.  The "summary of scripts" gives, for every
 uniclass present in the project, a report of how many instances are extant
 *in the image*.  These instance-counts can include, as in this example,
 moribund instances that have not yet been garbage-collected, as well as
 instances that reside in the user's image but in a different project.

 By issuing a garbage-collect before building the "summary of scripts"
 table, we could eliminate the spurious over-counting of unreferenced, not-
 yet-GC'd instances.

-- 
Ticket URL: <http://dev.laptop.org/ticket/7147#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Etoys-notify mailing list