Author: Armin Rigo <[email protected]>
Branch:
Changeset: r48620:fee2997d53e2
Date: 2011-10-31 16:14 +0000
http://bitbucket.org/pypy/pypy/changeset/fee2997d53e2/
Log: Hack away lightweight-finalizer support from the semispace GC.
Translated pypy's using the hybrid GC failed so far, and no longer
fail now.
diff --git a/pypy/rpython/memory/gc/semispace.py
b/pypy/rpython/memory/gc/semispace.py
--- a/pypy/rpython/memory/gc/semispace.py
+++ b/pypy/rpython/memory/gc/semispace.py
@@ -105,9 +105,10 @@
llarena.arena_reserve(result, totalsize)
self.init_gc_object(result, typeid16)
self.free = result + totalsize
- if is_finalizer_light:
- self.objects_with_light_finalizers.append(result + size_gc_header)
- elif has_finalizer:
+ #if is_finalizer_light:
+ # self.objects_with_light_finalizers.append(result + size_gc_header)
+ #else:
+ if has_finalizer:
self.objects_with_finalizers.append(result + size_gc_header)
if contains_weakptr:
self.objects_with_weakrefs.append(result + size_gc_header)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit