ruby/test/-ext-/string
Jemma Issroff 5246f4027e Transition shape when object's capacity changes
This commit adds a `capacity` field to shapes, and adds shape
transitions whenever an object's capacity changes. Objects which are
allocated out of a bigger size pool will also make a transition from the
root shape to the shape with the correct capacity for their size pool
when they are allocated.

This commit will allow us to remove numiv from objects completely, and
will also mean we can guarantee that if two objects share shapes, their
IVs are in the same positions (an embedded and extended object cannot
share shapes). This will enable us to implement ivar sets in YJIT using
object shapes.

Co-Authored-By: Aaron Patterson <tenderlove@ruby-lang.org>
2022-11-10 10:11:34 -05:00
..
test_capacity.rb Decouple GC slot sizes from RVALUE 2022-02-02 09:52:04 -05:00
test_coderange.rb
test_cstr.rb Transition shape when object's capacity changes 2022-11-10 10:11:34 -05:00
test_ellipsize.rb Make String methods return String instances when called on a subclass instance 2020-11-20 16:30:23 -08:00
test_enc_associate.rb
test_enc_str_buf_cat.rb Scan the coderange in the given encoding 2021-06-26 16:05:15 +09:00
test_external_new.rb
test_fstring.rb Remove tainted and trusted features 2021-12-26 23:28:54 +09:00
test_interned_str.rb Fix rb_interned_str_* functions to not assume static strings 2020-11-30 17:33:28 +09:00
test_modify_expand.rb
test_nofree.rb
test_normalize.rb Word array instead of splitting 2020-03-08 17:39:22 +09:00
test_qsort.rb
test_rb_str_dup.rb [Feature #18239] Implement VWA for strings 2021-10-25 13:26:23 -04:00
test_set_len.rb Decouple GC slot sizes from RVALUE 2022-02-02 09:52:04 -05:00