General

Profile

peterzhu2118 (Peter Zhu)

  • Login: peterzhu2118
  • Email: peter@peterzhu.ca
  • Registered on: 08/01/2020
  • Last sign in: 05/23/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

06/19/2026

07:32 AM Ruby Revision 57d5247f (git): [ruby/mmtk] Call rb_memerror when OOM
https://github.com/ruby/mmtk/commit/6258cfa315 peterzhu2118 (Peter Zhu)

06/18/2026

01:09 PM Ruby Revision 5d5d318f (git): [DOC] Fix typo in WeakKeyMap#inspect
peterzhu2118 (Peter Zhu)

06/17/2026

01:24 PM Ruby Revision 6e3fcfa3 (git): [DOC] Fix missing quote in String#aset
peterzhu2118 (Peter Zhu)
10:00 AM Ruby Revision 45fd5d58 (git): Fix malloc counters during GC
https://github.com/ruby/ruby/pull/16919 changed malloc counters to be
reset in `gc_sweep_finish`. However, this introduced two problems:
1. If a GC is triggered due to the `malloc_limit` being hit, then it would
run a GC with lazy sw...
peterzhu2118 (Peter Zhu)
06:07 AM Ruby Revision 49fba455 (git): Remove unused return value of gc_malloc_counters_snapshot
peterzhu2118 (Peter Zhu)

06/16/2026

01:09 AM Ruby Revision 09847a62 (git): [DOC] Fix String#split docs
When `limit` is negative, the trailing empty strings are included. peterzhu2118 (Peter Zhu)

06/15/2026

01:25 AM Ruby Revision 845a0d6f (git): [DOC] Fix documentation for String#gsub!
String#gsub! returns self if any substitutions were performed, not characters removed. peterzhu2118 (Peter Zhu)

06/14/2026

05:19 AM Ruby Revision a6e30250 (git): [DOC] Improve docs for ObjectSpace::InternalObjectWrapper#internal_object_id
peterzhu2118 (Peter Zhu)

06/13/2026

09:26 AM Ruby Revision 9a90ac21 (git): [DOC] Fix docs for Hash#update
When a block is given to Hash#update, it sets `key` to the return value
of the block, not `new_value`.
peterzhu2118 (Peter Zhu)
12:44 AM Ruby Revision 533abc7d (git): [DOC] Add NEWS.md for bump pointer allocator
Adds https://github.com/ruby/ruby/pull/17201 to NEWS.md. peterzhu2118 (Peter Zhu)

Also available in: Atom