summaryrefslogtreecommitdiff
path: root/Modules/gcmodule.c
AgeCommit message (Expand)AuthorLines
2008-07-31Security patches from Apple: prevent int overflow when allocating memoryNeal Norwitz-1/+6
2006-09-28[Backport rev.39030 by nascheme]Andrew M. Kuchling-0/+1
2006-09-27[Backport of rev. 42093 by neal.norwitz]Andrew M. Kuchling-0/+2
2006-03-17Backport: Fix missing NULL checks after PyTuple_New, PyList_New, PyDict_NewGeorg Brandl-0/+1
2004-11-01gc_list_move(): Make this truly equivalent to remove+append. WhileTim Peters-3/+5
2004-11-01gc list function cleanup.Tim Peters-15/+31
2004-10-31handle_weakrefs(): Simplification -- there's no need to make a secondTim Peters-58/+28
2004-10-30SF 1055820: weakref callback vs gc vs threadsTim Peters-106/+183
2004-01-04Convert return value to boolean.Raymond Hettinger-1/+1
2003-11-24Silence GCC warning when asserts are turned off.Guido van Rossum-2/+1
2003-11-20SF bug 839548: Bug in type's GC handling causes segfaults.Tim Peters-13/+129
2003-11-14update_refs(): assert that incoming refcounts aren't 0. The commentTim Peters-0/+19
2003-09-04Bug #794140: cygwin builds do not embedJason Tishler-1/+1
2003-04-17- New C API PyGC_Collect(), same as calling gc.collect().Guido van Rossum-1/+19
2003-04-08s/referrents/referents/g. Gotta love that referrers remains rife with rs.Tim Peters-8/+8
2003-04-08Finished implementing gc.get_referrents(): dealt with error and endTim Peters-6/+15
2003-04-07Comment repair; no semantic changes.Tim Peters-4/+5
2003-04-07Reworked has_finalizer() to use the new _PyObject_Lookup() insteadTim Peters-73/+45
2003-04-06initgc(): Rewrote to use the PyModule_AddXYZ API; cuts code size.Tim Peters-17/+14
2003-04-06handle_finalizers(): Rewrote to call append_objects() and gc_list_merge()Tim Peters-36/+31
2003-04-06Switched from METH_VARARGS to METH_NOARGS for the 7 module functions thatTim Peters-44/+17
2003-04-06Reworked move_finalizer_reachable() to create two distinct lists:Tim Peters-31/+57
2003-04-05move_finalizers(): Rewrote. It's not necessary for this routineTim Peters-29/+20
2003-04-05New comments. Rewrote has_finalizer() as a sequence of ifs instead ofTim Peters-6/+21
2003-04-05Fixed new seemingly random segfaults, by moving the initialization ofTim Peters-8/+11
2003-04-04Fix Tim's boom example.Jeremy Hylton-20/+54
2003-04-03Add get_referrents() helper function.Jeremy Hylton-1/+1
2003-04-03Add get_referrents() helper function.Jeremy Hylton-1/+32
2002-11-09Fix typo.Martin v. Löwis-1/+1
2002-08-09For new-style classes, we can now test for tp_del instead of askingGuido van Rossum-3/+3
2002-07-07Trashcan cleanup: Now that cyclic gc is always there, the trashcanTim Peters-0/+3
2002-07-07Removed WITH_CYCLE_GC #ifdef-ery. Holes:Tim Peters-23/+0
2002-07-04gc_list_move defined but not used.Michael W. Hudson-15/+0
2002-07-02visit_decref(): Added another assert.Tim Peters-0/+1
2002-07-02Finished transitioning to using gc_refs to track gc objects' states.Tim Peters-38/+65
2002-07-02Reserved another gc_refs value for untracked objects. Every live gcTim Peters-6/+16
2002-07-01OK, I couldn't stand it <0.5 wink>: removed all uncertainty about what'sTim Peters-96/+163
2002-06-30visit_decref(): Two optimizations.Tim Peters-5/+3
2002-06-30SF bug #574132: Major GC related performance regressionTim Peters-13/+43
2002-06-28Fix small bug. The count of objects in all generations younger then theNeil Schemenauer-1/+1
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-32/+22
2002-06-06Remove casts to PyObject * when declaration is for PyObject *Jeremy Hylton-3/+3
2002-05-21Add IS_TRACKED and IS_MOVED macros. This makes the logic a little more clear.Neil Schemenauer-7/+10
2002-05-04Move all data for a single generation into a structure. The set ofNeil Schemenauer-73/+97
2002-04-28_PyObject_GC_New: Could call PyObject_INIT with a NULL 1st argument.Tim Peters-2/+6
2002-04-12Allow PyObject_Del to be used as a function designator. Provide binaryNeil Schemenauer-14/+39
2002-03-29Make _PyObject_GC_UnTrack do nothing if WITH_CYCLE_GC is not defined.Neil Schemenauer-0/+2
2002-03-28This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction).Guido van Rossum-1/+3
2002-03-22Use pymalloc for realloc() as well.Neil Schemenauer-2/+2
2002-03-22Use pymalloc if it's enabled.Neil Schemenauer-4/+4