Author: Armin Rigo <[email protected]>
Branch: incremental-gc
Changeset: r67192:04f75ade7282
Date: 2013-10-08 10:01 +0200
http://bitbucket.org/pypy/pypy/changeset/04f75ade7282/
Log: Disable this logic
diff --git a/TODO b/TODO
--- a/TODO
+++ b/TODO
@@ -11,3 +11,6 @@
* maybe make incremental: dealing with old_objects_with_weakrefs
and old_objects_with_light_finalizers and
deal_with_objects_with_finalizers()
+
+* REDO external_malloc(): if somebody calls this function a lot, we must
+ eventually force a full collection.
diff --git a/rpython/memory/gc/incminimark.py b/rpython/memory/gc/incminimark.py
--- a/rpython/memory/gc/incminimark.py
+++ b/rpython/memory/gc/incminimark.py
@@ -766,10 +766,11 @@
#
# If somebody calls this function a lot, we must eventually
# force a full collection.
- if (float(self.get_total_memory_used()) + raw_malloc_usage(totalsize) >
- self.next_major_collection_threshold):
- self.minor_collection()
- self.major_collection(raw_malloc_usage(totalsize))
+ # XXX REDO
+## if (float(self.get_total_memory_used()) +
raw_malloc_usage(totalsize) >
+## self.next_major_collection_threshold):
+## self.minor_collection()
+## self.major_collection(raw_malloc_usage(totalsize))
#
# Check if the object would fit in the ArenaCollection.
if raw_malloc_usage(totalsize) <= self.small_request_threshold:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit