1. 13 Haz, 2002 1 kayıt (commit)
  2. 06 Haz, 2002 1 kayıt (commit)
  3. 21 May, 2002 1 kayıt (commit)
  4. 04 May, 2002 1 kayıt (commit)
    • Neil Schemenauer's avatar
      Move all data for a single generation into a structure. The set of · 2880ae53
      Neil Schemenauer yazdı
      generations is now an array.  This cleans up some code and makes it easy
      to change the number of generations.  Also, implemented a
      gc_list_is_empty() function.  This makes the logic a little clearer in
      places.  The performance impact of these changes should be negligible.
      
      One functional change is that allocation/collection counters are always
      zeroed at the start of a collection.  This should fix SF bug #551915.
      This change is too big for back-porting but the minimal patch on SF
      looks good for a bugfix release.
      2880ae53
  5. 28 Nis, 2002 1 kayıt (commit)
  6. 12 Nis, 2002 1 kayıt (commit)
  7. 29 Mar, 2002 1 kayıt (commit)
  8. 28 Mar, 2002 1 kayıt (commit)
  9. 22 Mar, 2002 2 kayıt (commit)
  10. 29 Ock, 2002 1 kayıt (commit)
  11. 02 Ara, 2001 2 kayıt (commit)
  12. 29 Kas, 2001 1 kayıt (commit)
  13. 24 Kas, 2001 1 kayıt (commit)
  14. 01 Kas, 2001 3 kayıt (commit)
  15. 31 Eki, 2001 1 kayıt (commit)
  16. 12 Eki, 2001 1 kayıt (commit)
  17. 11 Eki, 2001 1 kayıt (commit)
    • Tim Peters's avatar
      SF bug [#467145] Python 2.2a4 build problem on HPUX 11.0. · 9e4ca10c
      Tim Peters yazdı
      The platform requires 8-byte alignment for doubles, but the GC header
      was 12 bytes and that threw off the natural alignment of the double
      members of a subtype of complex.  The fix puts the GC header into a
      union with a double as the other member, to force no-looser-than
      double alignment of GC headers.  On boxes that require 8-byte alignment
      for doubles, this may add pad bytes to the GC header accordingly; ditto
      for platforms that *prefer* 8-byte alignment for doubles.  On platforms
      that don't care, it shouldn't change the memory layout (because the
      size of the old GC header is certainly greater than the size of a double
      on all platforms, so unioning with a double shouldn't change size or
      alignment on such boxes).
      9e4ca10c
  18. 07 Eki, 2001 1 kayıt (commit)
  19. 06 Eki, 2001 3 kayıt (commit)
    • Tim Peters's avatar
      _PyObject_VAR_SIZE: always round up to a multiple-of-pointer-size value. · 6d483d34
      Tim Peters yazdı
      As Guido suggested, this makes the new subclassing code substantially
      simpler.  But the mechanics of doing it w/ C macro semantics are a mess,
      and _PyObject_VAR_SIZE has a new calling sequence now.
      
      Question:  The PyObject_NEW_VAR macro appears to be part of the public API.
      Regardless of what it expands to, the notion that it has to round up the
      memory it allocates is new, and extensions containing the old
      PyObject_NEW_VAR macro expansion (which was embedded in the
      PyObject_NEW_VAR expansion) won't do this rounding.  But the rounding
      isn't actually *needed* except for new-style instances with dict pointers
      after a variable-length blob of embedded data.  So my guess is that we do
      not need to bump the API version for this (as the rounding isn't needed
      for anything an extension can do unless it's recompiled anyway).  What's
      your guess?
      6d483d34
    • Tim Peters's avatar
      Repaired the debug Windows deaths in test_descr, by allocating enough · 406fe3b1
      Tim Peters yazdı
      pad memory to properly align the __dict__ pointer in all cases.
      
      gcmodule.c/objimpl.h, _PyObject_GC_Malloc:
      + Added a "padding" argument so that this flavor of malloc can allocate
        enough bytes for alignment padding (it can't know this is needed, but
        its callers do).
      
      typeobject.c, PyType_GenericAlloc:
      + Allocated enough bytes to align the __dict__ pointer.
      + Sped and simplified the round-up-to-PTRSIZE logic.
      + Added blank lines so I could parse the if/else blocks <0.7 wink>.
      406fe3b1
    • Tim Peters's avatar
      _PyObject_GC_Malloc(): split a complicated line in two. As is, there was · 8c18f258
      Tim Peters yazdı
      no way to talk the debugger into showing me how many bytes were being
      allocated.
      8c18f258
  20. 30 Agu, 2001 1 kayıt (commit)
    • Neil Schemenauer's avatar
      Make more things internal to this file. Remove · 43411b56
      Neil Schemenauer yazdı
      visit_finalizer_reachable since it's the same as visit_reachable.
      Rename visit_reachable to visit_move.  Objects can now have the GC type
      flag set, reachable by tp_traverse and not be in a GC linked list.  This
      should make the collector more robust and easier to use by extension
      module writers.  Add memory management functions for container objects
      (new, del, resize).
      43411b56
  21. 10 Agu, 2001 1 kayıt (commit)
  22. 09 Agu, 2001 2 kayıt (commit)
  23. 04 Eki, 2000 2 kayıt (commit)
  24. 22 Eyl, 2000 2 kayıt (commit)
  25. 05 Eyl, 2000 1 kayıt (commit)
  26. 01 Eyl, 2000 2 kayıt (commit)
  27. 31 Agu, 2000 1 kayıt (commit)
  28. 06 Agu, 2000 1 kayıt (commit)
  29. 12 Tem, 2000 2 kayıt (commit)