gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: [Gnash-commit] gnash ChangeLog libbase/ref_counted.h libbase/


From: Sandro Santilli
Subject: Re: Re[2]: [Gnash-commit] gnash ChangeLog libbase/ref_counted.h libbase/s...
Date: Mon, 2 Jul 2007 09:54:00 -0400



On 7/2/07, Udo Giacomozzi <address@hidden> wrote:
Do we still need to be thread-safe when only AS objects are garbage
collected? My gut feeling is "yes", so even future changes will be
safe.


In current head an assertion would fail if anything but the *main* thread
registers a collectable to the GC. You can try by allocationg an as_object
in movie_def_impl::read_all_swf, for example.
So future changes in this direction will not go unnoticed.

Have you read about the tri-color GC? What do you think about it?

I'm trying to keep it simple for the moment. Would like to clean up the
current code before thinking about improvements. We'd also need to
profile it.

--strk;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]