[pypy-commit] pypy gc-incminimark-pinning: add XXX for weakref pointing to pinned object support
groggi
noreply at buildbot.pypy.org
Fri Sep 5 11:37:58 CEST 2014
Author: Gregor Wegberg <code at gregorwegberg.com>
Branch: gc-incminimark-pinning
Changeset: r73317:f047eb414d3a
Date: 2014-09-05 11:33 +0200
http://bitbucket.org/pypy/pypy/changeset/f047eb414d3a/
Log: add XXX for weakref pointing to pinned object support
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
@@ -2578,6 +2578,9 @@
# ----------
# Weakrefs
+ # XXX (groggi): weakref pointing to pinned object not supported.
+ # XXX (groggi): missing asserts/checks for the missing feature.
+
# The code relies on the fact that no weakref can be an old object
# weakly pointing to a young object. Indeed, weakrefs are immutable
# so they cannot point to an object that was created after it.
More information about the pypy-commit
mailing list