[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog libbase/GC.h
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog libbase/GC.h |
Date: |
Sun, 17 Jun 2007 08:49:29 +0000 |
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] gnash ChangeLog libbase/GC.h,
Sandro Santilli <=