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

01:15 AM Ruby Revision 1c657aef (git): ZJIT: GC fastpath for HashDup
Implements GC fastpath for HashDup instruction for AR hashes (<= 8 elements).
This instruction is used for non-empty hashes that have only compile-time
constants.
Benchmark:
def run(times)
i = 0
while i < times
...
peterzhu2118 (Peter Zhu)

08/13/2026

10:05 PM Ruby Revision 2423f69d (git): [DOC] Fix extra word in string/inspect.rdoc
peterzhu2118 (Peter Zhu)

08/10/2026

12:50 PM Ruby Revision a2be53b8 (git): [ruby/mmtk] Rename UpdateFinalizerObjIdTables to UpdateFinalizerTable
Object ID tables are no longer managed by the GC.
https://github.com/ruby/mmtk/commit/fd883c686e
peterzhu2118 (Peter Zhu)

08/09/2026

01:14 AM Ruby Revision db99b196 (git): Make rb_weakmap_type static
It's not used outside of weakmap.c. peterzhu2118 (Peter Zhu)

08/08/2026

11:15 PM Ruby Revision cc354134 (git): [ruby/mmtk] Fix rb_gc_impl_user_gc_disabled_set
Fixes:
1) Failure:
TestGc#test_gc_disabled_start [/home/runner/work/mmtk/mmtk/ruby/test/ruby/test_gc.rb:917]:
<1> expected but was
<2>.
https://github.com/ruby/mmtk/commit/bd03295d91
peterzhu2118 (Peter Zhu)
04:19 PM Ruby Revision 7187006e (git): [ruby/mmtk] Skip test_profiler_raw_data_with_another_ractor
https://github.com/ruby/mmtk/commit/02d43c015a peterzhu2118 (Peter Zhu)

08/07/2026

11:58 PM Ruby Revision 66c8e49a (git): Unify STR_DUPLICATE_MAX_EMBED_LEN and STR_SUBSEQ_MAX_EMBED_SIZE
peterzhu2118 (Peter Zhu)
08:31 PM Ruby Revision f3367322 (git): ZJIT: Centralize shape setting for ZJIT GC fastpath
This commit centralizes shape setting for objects in the ZJIT GC fastpath
into the rb_zjit_new_obj_shape function to avoid each type having to deal
with shapes individually.
peterzhu2118 (Peter Zhu)
05:03 PM Ruby Revision 349071ba (git): Fix definition of STR_DUPLICATE_MAX_EMBED_LEN in Test_RbStrDup
peterzhu2118 (Peter Zhu)

08/04/2026

12:49 PM Ruby Revision 3e646aee (git): [DOC] Update docs for GC.stat
peterzhu2118 (Peter Zhu)

Also available in: Atom