Author: wenzhuman <[email protected]>
Branch: gc-pinning
Changeset: r71769:5530f6e9f4ca
Date: 2014-05-28 15:41 -0400
http://bitbucket.org/pypy/pypy/changeset/5530f6e9f4ca/

Log:    add pinned gc flag

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
@@ -132,8 +132,8 @@
 # The following flag is set on surviving raw-malloced young objects during
 # a minor collection.
 GCFLAG_VISITED_RMY   = first_gcflag << 8
-
-_GCFLAG_FIRST_UNUSED = first_gcflag << 9    # the first unused bit
+GCFLAG_PINNED = first_gcflag << 9
+_GCFLAG_FIRST_UNUSED = first_gcflag << 10    # the first unused bit
 
 
 # States for the incremental GC
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to