General

Profile

peterzhu2118 (Peter Zhu)

  • Login: peterzhu2118
  • Email: peter@peterzhu.ca
  • Registered on: 08/01/2020
  • Last sign in: 07/12/2026

Issues

open closed Total
Assigned issues 1 31 32
Reported issues 2 79 81

Projects

Project Roles Registered on
Ruby Committer 03/24/2021

Activity

Today

05:58 PM Ruby Revision 22bc2aa8 (git): Move constant in TestYJIT into test
GC::INTERNAL_CONSTANTS[:RVARGC_MAX_ALLOCATE_SIZE] may not be defined, which
will cause the test file to not be able to load.
peterzhu2118 (Peter Zhu)
03:00 PM Ruby Revision 3760fedb (git): Handle shape ID capacity overflow
If we allocate objects larger than 1024 bytes, the capacity in the shape
ID will overflow. This commit fixes it set the capacity to SHAPE_ID_CAPACITY_MAX
in that case and falls back to rb_gc_obj_slot_size instead.
peterzhu2118 (Peter Zhu)

07/19/2026

04:16 PM Ruby Revision 75aeb225 (git): Also output mandatory only ISEQ in dumps
Methods with mandatory only support only dumps the ISEQ of the case with
all the arguments and not the mandatory only case. This commit changes
it to also dump the mandatory only ISEQ.
peterzhu2118 (Peter Zhu)

07/18/2026

08:22 PM Ruby Revision 83cfa103 (git): Make rb_node_case_when_optimizable_literal static
peterzhu2118 (Peter Zhu)

07/12/2026

07:51 PM Ruby Revision 32a03756 (git): Remove dead test exclude that doesn't exist anymore
TestGem#test_looks_for_gemdeps_files_automatically_from_binstubs doesn't
exist anymore.
peterzhu2118 (Peter Zhu)

07/11/2026

06:20 AM Ruby Revision 916d8c10 (git): Prevent overflow of length bits for embedded structs
Embedded structs only use 7 bits for the length, so it will overflow if
the GC can allocate large slots. We need to add the cap to struct_alloc.
peterzhu2118 (Peter Zhu)

07/10/2026

11:18 AM Ruby Revision 8e9038bd (git): [ruby/mmtk] Remove fixed slot size
We can use dynamic slot sizes up to MMTK_MAX_OBJ_SIZE.
https://github.com/ruby/mmtk/commit/e07cb0b63e
peterzhu2118 (Peter Zhu)
06:35 AM Ruby Revision 79da5070 (git): Prevent overflow of length bits for embedded arrays
Embedded arrays only use 7 bits for the length, so it will overflow if
the GC can allocate large slots. We need to add the cap to ary_embeddable_p.
peterzhu2118 (Peter Zhu)

07/09/2026

06:53 AM Ruby Revision 61b5f059 (git): Remove dead RARRAY_EMBED_LEN_MAX
peterzhu2118 (Peter Zhu)

07/08/2026

11:30 PM Ruby Revision 583668d5 (git): Remove gc_bump_pointer_heap
It was leftover and we don't actually need it. peterzhu2118 (Peter Zhu)

Also available in: Atom