Author: Armin Rigo <[email protected]>
Branch: extradoc
Changeset: r4083:d25dafc60318
Date: 2012-02-01 11:38 +0100
http://bitbucket.org/pypy/extradoc/changeset/d25dafc60318/

Log:    Improve.

diff --git a/planning/stm.txt b/planning/stm.txt
--- a/planning/stm.txt
+++ b/planning/stm.txt
@@ -264,11 +264,19 @@
 is called, we can try to do such a collection, but what about the pinned
 objects?
 
-<< NOW: let this mode be rather slow.  To implement this mode, we would
-have only global objects, and have the stm_write barrier of 'obj' return
-'obj'.  Do only global collections (one we have them; at first, don't
-collect at all).  Allocation would allocate immediately a global object,
-without being able to benefit from bump-pointer allocation. >>
+<< NOW: let this mode be rather slow.  Two solutions are considered:
+
+    1. we would have only global objects, and have the stm_write barrier
+    of 'obj' return 'obj'.  Do only global collections (once we have
+    them; at first, don't collect at all).  Allocation would allocate
+    immediately a global object, without being able to benefit from
+    bump-pointer allocation.
+
+    2. allocate in a nursery, never collected for now; but just do an
+    end-of-transaction collection when transaction.run() is first
+    called.
+
+>>
 
 
 Pointer equality
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to