diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-08 20:46:36 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-08 20:46:36 +0000 |
commit | 1f1f3112dc762fc31a204de123bf23c505a75780 (patch) | |
tree | 183f257101e265a8c953e52895dcf6228529d5a9 /gc.c | |
parent | 17c7bdc04bf664c4fcf3beb7a083798a41304594 (diff) | |
download | ruby-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |