gnash-commit
[Top][All Lists]
Advanced

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

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


From: zou lunkai
Subject: Re: [Gnash-commit] gnash ChangeLog libbase/GC.h
Date: Mon, 18 Jun 2007 10:48:35 +0800

should add two missing head files for std::find and assert() for
passing compile here.

eg.
#include <algorithm> //for std::find
#include <assert.h>

I can't update this file,  always get a message " waiting for nobody's
lock in /sources/gnash/gnash/libbase".  Don't quite understand what
this message exactly means.

On 6/17/07, Sandro Santilli <address@hidden> wrote:
CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/06/17 08:49:29

Modified files:
        .              : ChangeLog
        libbase        : GC.h

Log message:
                * libbase/GC.h: fixed a misleading delete count for
                  the debugging mode. You can now see that in the UdoG
                  leaking case (empty function in first frame, empty second
                  frame) every GC collect run deletes 2 resources (most
                  likely an isolated chain of references in the RC case).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3565&r2=1.3566
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.h?cvsroot=gnash&r1=1.5&r2=1.6

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3565
retrieving revision 1.3566
diff -u -b -r1.3565 -r1.3566
--- ChangeLog   17 Jun 2007 08:34:41 -0000      1.3565
+++ ChangeLog   17 Jun 2007 08:49:28 -0000      1.3566
@@ -1,3 +1,11 @@
+2007-06-16 Sandro Santilli <address@hidden>
+
+       * libbase/GC.h: fixed a misleading delete count for
+         the debugging mode. You can now see that in the UdoG
+         leaking case (empty function in first frame, empty second
+         frame) every GC collect run deletes 2 resources (most
+         likely an isolated chain of references in the RC case).
+
 2007-06-17 Ann Barcomb <address@hidden>

        * plugin/Makefile.am: Removed an incorrect comment.

Index: libbase/GC.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/GC.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- libbase/GC.h        16 Jun 2007 09:17:34 -0000      1.5
+++ libbase/GC.h        17 Jun 2007 08:49:29 -0000      1.6
@@ -294,9 +294,11 @@
                        const GcResource* res = *i;
                        if ( ! res->isReachable() )
                        {
+#ifdef GNASH_GC_DEBUG
 #if GNASH_GC_DEBUG > 1
                                log_debug(_("GC %p: cleanUnreachable deleting object 
%p (%s)"),
                                                (void*)this, (void*)res, 
typeid(*res).name());
+#endif
                                ++deleted;
 #endif
                                delete res;


_______________________________________________
Gnash-commit mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnash-commit





reply via email to

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