aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-08 20:46:36 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-08 20:46:36 +0000
commit1f1f3112dc762fc31a204de123bf23c505a75780 (patch)
tree183f257101e265a8c953e52895dcf6228529d5a9 /gc.c
parent17c7bdc04bf664c4fcf3beb7a083798a41304594 (diff)
downloadruby-1f1f3112dc762fc31a204de123bf23c505a75780.tar.gz
* gc.c: PAGE_BITMAP_PLANES (the number of bitmap) is 4, not 3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index f9e131bfcb..48d9acb9c7 100644
--- a/gc.c
+++ b/gc.c
@@ -638,7 +638,7 @@ enum {
PAGE_OBJ_LIMIT = (unsigned int)((PAGE_SIZE - sizeof(struct heap_page_header))/sizeof(struct RVALUE)),
PAGE_BITMAP_LIMIT = CEILDIV(CEILDIV(PAGE_SIZE, sizeof(struct RVALUE)), BITS_BITLENGTH),
PAGE_BITMAP_SIZE = (BITS_SIZE * PAGE_BITMAP_LIMIT),
- PAGE_BITMAP_PLANES = USE_RGENGC ? 3 : 1 /* RGENGC: mark bits, rememberset bits and oldgen bits */
+ PAGE_BITMAP_PLANES = USE_RGENGC ? 4 : 1 /* RGENGC: mark, unprotected, uncollectible, marking */
};
struct heap_page {