ruby-changes:41398
From: ko1 <ko1@a...>
Date: Sat, 9 Jan 2016 05:46:20 +0900 (JST)
Subject: [ruby-changes:41398] ko1:r53470 (trunk): * gc.c: PAGE_BITMAP_PLANES (the number of bitmap) is 4, not 3.
ko1 2016-01-09 05:46:36 +0900 (Sat, 09 Jan 2016) New Revision: 53470 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53470 Log: * gc.c: PAGE_BITMAP_PLANES (the number of bitmap) is 4, not 3. Modified files: trunk/ChangeLog trunk/gc.c Index: gc.c =================================================================== --- gc.c (revision 53469) +++ gc.c (revision 53470) @@ -638,7 +638,7 @@ enum { https://github.com/ruby/ruby/blob/trunk/gc.c#L638 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 { Index: ChangeLog =================================================================== --- ChangeLog (revision 53469) +++ ChangeLog (revision 53470) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Jan 9 05:45:40 2016 Koichi Sasada <ko1@a...> + + * gc.c: PAGE_BITMAP_PLANES (the number of bitmap) is 4, not 3. + Sat Jan 9 05:42:57 2016 Koichi Sasada <ko1@a...> * gc.c: rename constant names HEAP_* to PAGE_*. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/