1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Write have instead of have have [ci skip

This commit is contained in:
Kaíque Kandy Koga 2022-05-10 01:07:16 -03:00 committed by GitHub
parent d0983af61c
commit a85cdb5a6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
View file

@ -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);
}
/* 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
* be skipped since none of the bits will be set. */
int bitmap_plane_count = CEILDIV(NUM_IN_PAGE(p) + page_rvalue_count, BITS_BITLENGTH);