[pypy-commit] extradoc extradoc: (anto, arigo) thinking

arigo pypy.commits at gmail.com
Fri Mar 23 12:08:59 EDT 2018


Author: Armin Rigo <arigo at tunes.org>
Branch: extradoc
Changeset: r5885:ed01dff131fb
Date: 2018-03-23 17:08 +0100
http://bitbucket.org/pypy/extradoc/changeset/ed01dff131fb/

Log:	(anto, arigo) thinking

diff --git a/planning/cpyext.txt b/planning/cpyext.txt
--- a/planning/cpyext.txt
+++ b/planning/cpyext.txt
@@ -65,3 +65,13 @@
 the parallel nursery. The only requirement is that each W_Root in the nursery
 is at least two words, and we need to think about how to guarantee it.
 
+
+To think about:
+~~~~~~~~~~~~~~~
+
+Maybe we can tweak the nursery collection by adding a GCFLAG_WITH_PYOBJ flag
+and when we trace such an object, we know it has got a pyobj and we set a
+flag "survived!" into the pyobj.  Then the walking of all pyobjs-with-young-
+associated-pypy-obj can be faster.  It is faster in particular because then
+we don't need to bring into the cache anything about the pypy objects
+corresponding to pyobjs, if they die.


More information about the pypy-commit mailing list