Bump the github-actions group across 1 directory with 2 updates
Bumps the github-actions group with 2 updates in the / directory: actions/github-script and taiki-e/install-action....
Always ensure room in rb_obj_embedded_size
Although the issue only occurred on debug builds, we should always be requesting a size large enough to fit the object when it expands to the heap, rather than just hoping the GC provides enough room.
ZJIT: Make hir::types::Class not final and have it include metaclasses
hir::types::Class
Every class boots with a metaclass, and all metaclasses are subclasses of Class, so types::Class has no business in ExactBitsAndClass. In fact, we should never see an object whose RBasic::class is exactly...
types::Class
ExactBitsAndClass
Add slot size assertion to ar_force_convert_table
Co-authored-by: Luke Gruber luke.gru@gmail.com Co-authored-by: Matt Valentine-House matt@eightbitraptor.com
Don't use fixed-size hashes for cdhash
This caused out of bounds writes because of converting to a st_table.
Remove extra sentinel from shape capacities
This isn't a 0 terminated list anymore because we iterate over heaps_count directly. So we don't need to allocate an extra byte for the sentinel
Make it obvious that field count guard is for debug
This is because when RVALUE_OVERHEAD is positive, ie. when RACTOR_CHECK_MODE is enabled and we need to store the pointer to the owning ractor, we need to make sure there is enough space to store it....
RVALUE_OVERHEAD
RACTOR_CHECK_MODE
Replace sweeping_heaps map with a counter
We implemented some bit twiddling logic with an unsigned int to have a neat way of tracking which heaps were currently sweeping, but we actually don't need to care which heap is sweeping right now, just whether some are or not, so we can replace this with a counter.
Use the pre-processor to generate slot sizes and reciprocals
Fix zjit hir tests
View all revisions | View revisions
Also available in: Atom