Always allocate CDHASH in 80B slots
Up to size 8, rb_hash_new_with_size() will allocate a 160B slot to fit a full ar_table.
rb_hash_new_with_size()
ar_table
But in the case of CDHASH, we immediately assign a custom hash type, which trigger the conversion into an st_table, potentially...
st_table
class.c: rb_class_duplicate_classext also dup content of cvc_tbl
[Bug #21952]
Shallow copying the table result in the same memory being shared between multiple box, causing double free when one of the box is garbage collected.
ZJIT: Trace infer_types as a sub-pass of other passes (#16714)
This helps us see how much time it takes in compiler tracing.
ZJIT: fmt::Debug for VALUE in hex. Shorthand for rb_obj_info()
fmt::Debug
The default {:?} still always prints the pointer address and never dereferences it, but now in hex.
{:?}
The "alternate" flag lets you do println!("{my_ruby_object:#?}") and get a rich printout like VALUE(0x000000010232fd00 T_CLASS/Object).
println!("{my_ruby_object:#?}")
VALUE(0x000000010232fd00 T_CLASS/Object)
ZJIT: Assert no side exits in assert_compiles()
Most of the time, we want to assert that we compile and the compiled code runs without exiting. A small number of tests trigger side exits, and those are changed to use assert_compiles_allowing_exits().
ZJIT: Fix hanging loop (#16711)
https://github.com/ruby/ruby/pull/16122 (c272297e8a9f2b8034739b915707910b4e568479) worked for maximal SSA but does not work for "normal" SSA. This is because it used information propagating across block args/params as a proxy for tracking changes in...
Bump RDoc to latest master (4913d56) (#16713)
Update the pinned RDoc revision to pick up the latest changes from ruby/rdoc master.
[ruby/rubygems] Update man pages date
https://github.com/ruby/rubygems/commit/087625017a
[ruby/rubygems] fix formatting for BUNDLE_PREFER_PATCH variable in man page
https://github.com/ruby/rubygems/commit/5bdf29f86c
Ensure version from bundled_gems is used in tool/rdoc-srcdir (#16712)
Use version from bundled_gems in tool/rdoc-srcdir
Previously, tool/rdoc-srcdir used Dir.glob(...).first to find bundled gems like rdoc and tsort. This picks the first match alphabetically, which can select a stale older version when multiple...
tool/rdoc-srcdir
Dir.glob(...).first
View all revisions | View revisions
Also available in: Atom