Peter Zhu 2026-08-27 05:59:55 +0000 (Thu, 27 Aug 2026)
New Revision: 16de693774
https://github.com/ruby/ruby/commit/16de693774
Log:
Remove wrapper field in iseq
We keep a singleton of iseq wrappers (RubyVM::InstructionSequence). However,
this is rarely used and causes 8 bytes to be wasted on all iseq objects.
Since we now have the 32-byte slot size in the default GC, we can save that
memory.
Modified files:
iseq.c
test/ruby/test_iseq.rb
vm_core.h
zjit/src/
cruby_bindings.inc.rs
zjit/src/hir/opt_tests.rs
zjit/src/hir/tests.rs