Author: Armin Rigo <[email protected]>
Branch: cpyext-gc-support
Changeset: r80294:a0aca291e040
Date: 2015-10-16 20:46 +0200
http://bitbucket.org/pypy/pypy/changeset/a0aca291e040/
Log: comment
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
@@ -2859,6 +2859,7 @@
self.young_rawmalloced_objects.contains(pointing_to)):
# young weakref to a young raw-malloced object
if self.header(pointing_to).tid & GCFLAG_VISITED_RMY:
+ # surviving_dict is already up-to-date: the key doesn't move
surviving = True # survives, but does not move
else:
surviving = False
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit