[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KJS_NEW_API: kdelibs/kjs
From: David Faure <faure () kde ! org>
Date: 2001-10-26 13:32:55
[Download RAW message or body]
kdelibs/kjs collector.cpp,1.21.2.10,1.21.2.11 function.cpp,1.38.2.12,1.38.2.13 \
function.h,1.23.2.10,1.23.2.11 internal.cpp,1.93.2.23,1.93.2.24 \
lookup.h,1.4.4.1,1.4.4.2 nodes.cpp,1.70.2.18,1.70.2.19 object.cpp,1.71.2.12,1.71.2.13 \
types.cpp,1.21.2.5,1.21.2.6 types.h,1.22.4.5,1.22.4.6
Author: faure
Fri Oct 26 13:32:45 UTC 2001
Modified Files:
collector.cpp function.cpp function.h internal.cpp lookup.h
nodes.cpp object.cpp types.cpp types.h
Log Message:
Fixed the problems with List and the GC (re-enabling deleting of lists):
- Build a ListImp instead of List in ::copy() to prevent early deletion
- Let DeclaredFunctionImp store a List instead of a ListImp *. The mark()
method is never called, so the ListImp wasn't being protected from GC.
and don't call copy() in the method call, already done in the ctor (Decl.FuncImp)
+ don't build Values in ObjectImp::mark(), using _proto directly now.
Still having a huge mem leak on the testcase, will look later.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic