summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2021-06-01 16:28:35 -0700
committerAaron Patterson <tenderlove@ruby-lang.org>2021-06-03 13:56:53 -0700
commit38c5f2737f8a62efce93595c8b6c6ea1d6b5e739 (patch)
tree826fad2f49f0556e8487c3bf3b10dda97b32070b /include/ruby
parent93be7a4c6bda8269b3d82ce4cfde6b2bde3b9718 (diff)
Support an arbitrary number of header bits (< BITS_BITLENGTH)
NUM_IN_PAGE(page->start) will sometimes return a 0 or a 1 depending on how the alignment of the 40 byte slots work out. This commit uses the NUM_IN_PAGE function to shift the bitmap down on the first bitmap plane. Iterating on the first bitmap plane is "special", but this commit allows us to align object addresses on something besides 40 bytes, and also eliminates the need to fill guard bits.
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions