A Crazy Thought about CallContext Recycling and Caching
chromatic
chromatic at wgz.org
Mon Jan 4 23:05:15 UTC 2010
On Monday 04 January 2010 at 15:01, Vasily Chekalkin wrote:
> Refcounting of ctx->outer_ctx will be almost impossible to implement
> correctly. There is too many codepaths to access it. And it's very
> likely to have cycles in CallContexts considering CPS style VM.
Why would there be refcounting?
Are you thinking that there won't be much benefit unless we can determine that
a CallContext is truly dead and recyclable without running a full mark/sweep?
> My opinion is to focus on Generational (Copying) GC which will give
> advantages in all areas, not only CallContext usage.
We need that too.
-- c
More information about the parrot-dev
mailing list