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 | 278eafb9b9b43d1c87e9c6ae9516cf44bfc655f7 (patch) | |
tree | 183f257101e265a8c953e52895dcf6228529d5a9 /gc.c | |
parent | 7f03b464c433e9d63ab34789b1f5e9b0e15c75a3 (diff) | |
download | ruby-278eafb9b9b43d1c87e9c6ae9516cf44bfc655f7.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 { |