branches to merge
Andy Dougherty
doughera at lafayette.edu
Thu Sep 3 12:41:22 UTC 2009
On Thu, 3 Sep 2009, Andrew Whitworth wrote:
> On Thu, Sep 3, 2009 at 7:42 AM, Andy Dougherty<doughera at lafayette.edu> wrote:
> > Does this branch keep the pointer-to-the-middle tactic used in
> > src/gc/alloc_register.c? I never understood why that was considered
> > useful.
>
> It does, yes. The most important change is that Contexts are now a PMC
> type instead of a custom structure type. This means that they are
> garbage collected and not refcounted (and hopefully they leak less
> memory because of that). Other cleanups will be coming in subsequent
> branches and efforts.
Ok, good. I always thought that allocating the whole space but passing
around a pointer to the middle was a good recipe for confusing the gc and
creating memory leaks. I'm glad furhter cleanups are on the radar.
--
Andy Dougherty doughera at lafayette.edu
More information about the parrot-dev
mailing list