Author: Armin Rigo <[email protected]>
Branch: stmgc-c4
Changeset: r65717:8dc08afd119f
Date: 2013-07-27 17:09 +0200
http://bitbucket.org/pypy/pypy/changeset/8dc08afd119f/
Log: A problem with can_move()
diff --git a/rpython/memory/gc/stmgc.py b/rpython/memory/gc/stmgc.py
--- a/rpython/memory/gc/stmgc.py
+++ b/rpython/memory/gc/stmgc.py
@@ -132,7 +132,8 @@
seen by the GC, then it can get collected."""
tid = self.get_hdr_tid(obj)[0]
if bool(tid & self.GCFLAG_OLD):
- return False
+ return False # XXX wrong so far. We should add a flag to the
+ # object that means "don't ever kill this copy"
return True
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit