Author: Armin Rigo <[email protected]>
Branch: incremental-gc
Changeset: r67330:af229eaaa2ca
Date: 2013-10-11 20:37 +0200
http://bitbucket.org/pypy/pypy/changeset/af229eaaa2ca/
Log: Fix
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
@@ -1629,6 +1629,13 @@
if self.has_gcptr(typeid):
# we only have to do it if we have any gcptrs
self.old_objects_pointing_to_young.append(newobj)
+ else:
+ # we don't need to add this to 'old_objects_pointing_to_young',
+ # but in the STATE_MARKING phase we still need this bit...
+ if self.gc_state == STATE_MARKING:
+ self.header(newobj).tid &= ~GCFLAG_VISITED
+ self.objects_to_trace.append(newobj)
+
_trace_drag_out._always_inline_ = True
def _visit_young_rawmalloced_object(self, obj):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit