Author: Armin Rigo <[email protected]>
Branch: stm-thread-2
Changeset: r57319:7ed8d14a7269
Date: 2012-09-12 23:01 +0200
http://bitbucket.org/pypy/pypy/changeset/7ed8d14a7269/
Log: Add a comment
diff --git a/pypy/rpython/memory/gc/stmgc.py b/pypy/rpython/memory/gc/stmgc.py
--- a/pypy/rpython/memory/gc/stmgc.py
+++ b/pypy/rpython/memory/gc/stmgc.py
@@ -362,6 +362,10 @@
else:
# XXX for now a pointer to a non-nursery object is
# always valid, as long as we don't have global collections
+ # Later, we will need to remember that we answered False for
+ # this 'addr', and then no longer fix any pointer to it
+ # during global collections, so that the exact 'addr'
+ # remains valid as long as the object is reachable.
return False
# ____________________________________________________________
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit