Write have instead of have have [ci skip
This commit is contained in:
parent
d0983af61c
commit
a85cdb5a6e
Notes:
git
2022-05-10 13:07:48 +09:00
Merged: https://github.com/ruby/ruby/pull/5897 Merged-By: nobu <nobu@ruby-lang.org>
2
gc.c
2
gc.c
@ -5434,7 +5434,7 @@ gc_sweep_page(rb_objspace_t *objspace, rb_heap_t *heap, struct gc_sweep_context
|
|||||||
bits[BITMAP_INDEX(p) + page_rvalue_count / BITS_BITLENGTH] |= ~(((bits_t)1 << out_of_range_bits) - 1);
|
bits[BITMAP_INDEX(p) + page_rvalue_count / BITS_BITLENGTH] |= ~(((bits_t)1 << out_of_range_bits) - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The last bitmap plane may not be used if the last plane does not have
|
/* The last bitmap plane may not be used if the last plane does not
|
||||||
* have enough space for the slot_size. In that case, the last plane must
|
* have enough space for the slot_size. In that case, the last plane must
|
||||||
* be skipped since none of the bits will be set. */
|
* be skipped since none of the bits will be set. */
|
||||||
int bitmap_plane_count = CEILDIV(NUM_IN_PAGE(p) + page_rvalue_count, BITS_BITLENGTH);
|
int bitmap_plane_count = CEILDIV(NUM_IN_PAGE(p) + page_rvalue_count, BITS_BITLENGTH);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user