{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d1588981e0248aaa0174906c99df180e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d1588981e0248aaa0174906c99df180e","url":"https://api.github.com/users/petdance","login":"petdance","id":41100},"labels":[{"name":"core","color":"DAA3CE","url":"https://api.github.com/repos/petdance/scratch/labels/core"},{"name":"Pri-normal","color":"6770F0","url":"https://api.github.com/repos/petdance/scratch/labels/Pri-normal"},{"name":"Sev-medium","color":"473A34","url":"https://api.github.com/repos/petdance/scratch/labels/Sev-medium"},{"name":"todo","color":"B36A99","url":"https://api.github.com/repos/petdance/scratch/labels/todo"}],"assignee":null,"updated_at":"2011-11-14T06:11:53Z","comments":0,"closed_at":null,"url":"https://api.github.com/repos/petdance/scratch/issues/586","body":"Pending discussion today in #ps:\n```\r\n<Whiteknight> Propose adding a PObj flag \"PObj_uses_malloc_attrs_FLAG\" to automatically deallocate Parrot_*_attribute structures in the GC. Thoughts?\r\n<chromatic> Alternative: smarten Pmc2C such that it automatically generates mark() and destroy() VTABLEs as necessary.\r\n<allison> prefer chromatic's solution\r\n```\r\n\r\nPmc2c.pl should be smart enough to:\r\n - automatically generate a mark() vtable to mark all STRING and PMC attrs, unless the user has specifically provided one, and\r\n - automatically generate a destroy() vtable to deallocate the Parrot_*_attributes structure, unless the user has already provided one.\r\n\r\nThere are lots of good reasons to do this.\r\n\r\n\r\nOriginally http://trac.parrot.org/parrot/ticket/709 by whiteknight (@Whiteknight)","html_url":"https://github.com/petdance/scratch/issues/586","title":"Pmc2c should generate mark and destroy VTABLES","number":586,"id":2226899,"created_at":"2011-11-14T06:11:52Z"},"action":"opened"}