1. 08 May, 2003 6 commits
  2. 02 May, 2003 3 commits
  3. 01 May, 2003 19 commits
  4. 30 Apr, 2003 2 commits
  5. 29 Apr, 2003 2 commits
  6. 25 Apr, 2003 1 commit
  7. 24 Apr, 2003 3 commits
  8. 23 Apr, 2003 4 commits
    • Jeremy Hylton's avatar
      Be sure to clear the original cache when calling resetCache(). · 0fc65cfb
      Jeremy Hylton authored
      XXX I've got no idea what this is actually supposed to do.  It may be
      that clearing the old cache isn't safe, but only if it never was.  If
      a non-ghost object is in the cache, it seems that attempts to use it
      will go through the wrong cache.
      0fc65cfb
    • Jeremy Hylton's avatar
      Simplify ResetCache() test. · e87e1162
      Jeremy Hylton authored
      e87e1162
    • Jeremy Hylton's avatar
      Make sure the database is closed. · 48402c4b
      Jeremy Hylton authored
      48402c4b
    • Jeremy Hylton's avatar
      Fix memory leak involving persistent objects and caches. · e5567b6e
      Jeremy Hylton authored
      Problem reported by Ulla Theiss and diagnosed by Shane Hathaway.  The
      long and short of it is that persistent objects refer to their
      connection which refers to its cache which refers to the persistent
      objects.  We can't let GC find the cycle because persistent objects
      are extension class objects, and, thus, don't participate in GC.
      
      Add an explicit clear() method that removes non-ghost objects from the
      ring without going to all the trouble of ghosting them.  At some
      point, they'll just get deallocated (which will ghostify them).
      
      A cleared cache has non-ghost objects in the dict that are not in the
      ring, so we need to add some checks for whether the object is actually
      in the ring.
      e5567b6e