[pypy-commit] pypy gc-pinning: add pinned gc flag
wenzhuman
noreply at buildbot.pypy.org
Wed May 28 22:05:44 CEST 2014
Author: wenzhuman <manwenzhu at gamil.com>
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
More information about the pypy-commit
mailing list